提交 97a28383 编写于 作者: Z zyyang

change

上级 c8cceb68
......@@ -56,9 +56,7 @@ public class SubTableService extends AbstractService {
ExecutorService executor = Executors.newFixedThreadPool(threadSize);
Future<Integer> future = executor.submit(() -> insert(subTableValues));
executor.shutdown();
//TODO:
sleep(1000);
//TODO:frequency
return getAffectRows(future);
}
......@@ -67,7 +65,6 @@ public class SubTableService extends AbstractService {
ExecutorService executor = Executors.newFixedThreadPool(threadSize);
Future<Integer> future = executor.submit(() -> insertAutoCreateTable(subTableValues));
executor.shutdown();
return getAffectRows(future);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册