fix bug,set ExecutorService

master
Ckex.zha 2017-03-04 20:57:29 +08:00
parent 11904a4d41
commit e645524ad2
1 changed files with 1 additions and 0 deletions

View File

@ -586,6 +586,7 @@ public class Spider implements Runnable, Task {
if (threadNum <= 0) {
throw new IllegalArgumentException("threadNum should be more than one!");
}
this.executorService = executorService;
return this;
}