mirror of
https://github.com/simon987/od-database.git
synced 2025-04-18 01:46:46 +00:00
Empty queue timeout increased to avoid that all workers die before the website is dropped
This commit is contained in:
parent
d3801adf74
commit
d43cf3b0ce
@ -140,7 +140,7 @@ class RemoteDirectoryCrawler:
|
||||
|
||||
while directory:
|
||||
try:
|
||||
path = in_q.get(timeout=150)
|
||||
path = in_q.get(timeout=2000)
|
||||
except Empty:
|
||||
logger.debug("in_q is Empty")
|
||||
directory.close()
|
||||
|
Loading…
x
Reference in New Issue
Block a user