Empty queue timeout increased to avoid that all workers die before the website is dropped

This commit is contained in:
Simon 2018-07-20 14:11:17 -04:00
parent d3801adf74
commit d43cf3b0ce

View File

@ -140,7 +140,7 @@ class RemoteDirectoryCrawler:
while directory: while directory:
try: try:
path = in_q.get(timeout=150) path = in_q.get(timeout=2000)
except Empty: except Empty:
logger.debug("in_q is Empty") logger.debug("in_q is Empty")
directory.close() directory.close()