mirror of
https://github.com/simon987/od-database.git
synced 2025-04-19 18:36:44 +00:00
Increased queue.get() timeouts
This commit is contained in:
parent
e6175c84c9
commit
07d51a75cc
@ -142,7 +142,7 @@ class RemoteDirectoryCrawler:
|
||||
|
||||
while directory:
|
||||
try:
|
||||
path = in_q.get(timeout=60)
|
||||
path = in_q.get(timeout=300)
|
||||
except Empty:
|
||||
directory.close()
|
||||
break
|
||||
@ -188,7 +188,7 @@ class RemoteDirectoryCrawler:
|
||||
while True:
|
||||
|
||||
try:
|
||||
file = files_q.get(timeout=240)
|
||||
file = files_q.get(timeout=800)
|
||||
except Empty:
|
||||
break
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user