#95 too many threads means skipped images

This commit is contained in:
Autumn Lamonte 2022-01-23 18:52:28 -06:00
parent 8fbae9d9b2
commit aeaf60a041

View file

@ -1706,7 +1706,7 @@ public class ECMA48Terminal extends LogicalScreen
* the terminal.
*/
// TODO: find a good number of threads
ExecutorService imageExecutor = Executors.newFixedThreadPool(10);
ExecutorService imageExecutor = Executors.newFixedThreadPool(2);
List<Future<String>> imageResults = new ArrayList<Future<String>>();
for (int y = 0; y < height; y++) {