fix bug,set ExecutorService

pull/478/head
Ckex.zha 8 years ago
parent 11904a4d41
commit e645524ad2

@ -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;
}

Loading…
Cancel
Save