Skip to content

#fixbug shutdown executorService incorrect#670

Open
l1fan wants to merge 1 commit intocode4craft:masterfrom
l1fan:master
Open

#fixbug shutdown executorService incorrect#670
l1fan wants to merge 1 commit intocode4craft:masterfrom
l1fan:master

Conversation

@l1fan
Copy link
Copy Markdown

@l1fan l1fan commented Sep 19, 2017

通过setExecutorService()方法设置的线程池不应被spider shutdown ,如

Spider.create(...).setExecutorService(exec).run();
Spider.create(...).setExecutorService(exec).run();

第二个spider无法使用exec,因为前一个close时把线程池关闭了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant