mirror of
https://github.com/internetarchive/brozzler.git
synced 2025-04-20 07:45:50 -04:00
set a timeout on warcprox_write_record request
This commit is contained in:
parent
cc6297ef60
commit
503771d653
@ -225,7 +225,7 @@ class BrozzlerWorker:
|
||||
request.set_proxy(warcprox_address, "http")
|
||||
|
||||
try:
|
||||
with urllib.request.urlopen(request) as response:
|
||||
with urllib.request.urlopen(request, timeout=600) as response:
|
||||
if response.getcode() != 204:
|
||||
self.logger.warn(
|
||||
'got "%s %s" response on warcprox '
|
||||
|
Loading…
x
Reference in New Issue
Block a user