mirror of
https://gitlab.com/AutumnMeowMeow/jexer
synced 2024-09-19 11:50:19 -06:00
#95 too many threads means skipped images
This commit is contained in:
parent
8fbae9d9b2
commit
aeaf60a041
1 changed files with 1 additions and 1 deletions
|
@ -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++) {
|
||||
|
|
Loading…
Reference in a new issue