Skip to content

Commit

Permalink
Multithreaded rendering: use 1 thread for stability, #591
Browse files Browse the repository at this point in the history
  • Loading branch information
devemux86 committed Oct 2, 2015
1 parent 5c13417 commit ea43ddb
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ public class MapWorkerPool implements Runnable {
// better implementation, maybe one that also takes the available memory into account, would
// be good.
public static final int DEFAULT_NUMBER_OF_THREADS = Runtime.getRuntime().availableProcessors() + 1;
public static int NUMBER_OF_THREADS = DEFAULT_NUMBER_OF_THREADS;
// For stability reasons (see #591), we set number of threads to 1
public static int NUMBER_OF_THREADS = 1;

public static boolean DEBUG_TIMING = false;

Expand Down

0 comments on commit ea43ddb

Please sign in to comment.