[SOLVED] issue main task finished too fast to wait the sub task to finish - Gukie/building-recommend GitHub Wiki
main task finished too fast to wait the sub task to finish
HOW TO SOLVE
- use ExecutorCompletionService to submit taskList.
- when per taskList finished, store them into DB until all taskList are finished.