diff options
| author | luccioman <luccioman@users.noreply.github.com> | 2016-09-29 10:33:11 +0200 |
|---|---|---|
| committer | luccioman <luccioman@users.noreply.github.com> | 2016-09-29 10:33:11 +0200 |
| commit | dcdea2d02f815bcece1713cd2ef8c56c39f889db (patch) | |
| tree | 087b74cbaeaa219465c1fb2b3679d38091342f1c /htroot/Surftips.html | |
| parent | ada473ced27cc7e5314233c7f0db994b282ef3ef (diff) | |
Fixed shutdown for crawler.MaxActiveThreads value greater than 200
Shutdown was hanging in CrawlQueues.close() at
this.workerQueue.put(POISON_REQUEST) when config value
crawler.MaxActiveThreads was greater than 200.
Revealed by "Collision" Threads dumps in mantis 689
(http://mantis.tokeek.de/view.php?id=689#c1312)
Fixed consistency between this.worker.length and this.workerQueue
capacity, and made the process more reliable using non-blocking offer()
function.
Diffstat (limited to 'htroot/Surftips.html')
0 files changed, 0 insertions, 0 deletions
