master
wangning 7 years ago
parent 52140edce6
commit c92c11a4d1

@ -49,11 +49,5 @@ public class CustomerImpressionTask {
}); });
generatePool.execute(task); generatePool.execute(task);
} }
generatePool.shutdown();
try {
generatePool.awaitTermination(5, TimeUnit.HOURS);
} catch (InterruptedException e) {
e.printStackTrace();
}
} }
} }

Loading…
Cancel
Save