ThreadPool size 8 is too big
This commit is contained in:
parent
c405fb0607
commit
1bfef0c8ba
@ -56,7 +56,7 @@ class OSS extends Generators {
|
||||
static ExecutorService ex;
|
||||
|
||||
def static void main(String[] args) {
|
||||
ex = Executors::newFixedThreadPool(8);
|
||||
ex = Executors::newFixedThreadPool(4);
|
||||
|
||||
val oss = new OSS();
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user