This commit is contained in:
zyyang 2020-12-14 13:10:14 +08:00
parent c8cceb68d3
commit 97a2838324
1 changed files with 1 additions and 4 deletions

View File

@ -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);
//TODOfrequency
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);
}