Skip to content

Commit

Permalink
Revert "fix: limit render threads"
Browse files Browse the repository at this point in the history
This reverts commit a2a6044.
  • Loading branch information
cmhulbert committed Sep 12, 2023
1 parent a2a6044 commit 130bca8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ public PainteraBaseView(
this.keyAndMouseBindings = keyAndMouseBindings;
this.viewerOptions = viewerOptions
.accumulateProjectorFactory(new CompositeProjectorPreMultiply.CompositeProjectorFactory(sourceInfo.composites()))
.numRenderingThreads(Math.max(1, Math.min(Runtime.getRuntime().availableProcessors() - 1, 16)));
.numRenderingThreads(Math.max(1, Runtime.getRuntime().availableProcessors() - 2));
this.views = new OrthogonalViews<>(
manager,
this.sharedQueue,
Expand Down

0 comments on commit 130bca8

Please sign in to comment.