mirror of https://github.com/apache/iotdb
parent
2c68db24c2
commit
37e3fc35b6
|
@ -121,7 +121,8 @@ public class IoTDBThreadPoolFactoryTest {
|
|||
args.stopTimeoutVal = 10;
|
||||
args.stopTimeoutUnit = TimeUnit.SECONDS;
|
||||
Thread.UncaughtExceptionHandler handler = new TestExceptionHandler(reason);
|
||||
int threadCount = 500;
|
||||
int threadCount = 50;
|
||||
|
||||
ExecutorService exec = IoTDBThreadPoolFactory.createJDBCClientThreadPool(args, POOL_NAME, handler);
|
||||
for(int i = 0; i < threadCount; i++){
|
||||
Runnable task = new TestThread(reason);
|
||||
|
|
Loading…
Reference in New Issue