mirror of
https://github.com/internetarchive/brozzler.git
synced 2025-02-25 00:59:52 -05:00
Merge branch 'rotary2024' into qa
This commit is contained in:
commit
d25dd9f36f
@ -196,7 +196,8 @@ class BrozzlerWorker:
|
|||||||
request.set_proxy(warcprox_address, "http")
|
request.set_proxy(warcprox_address, "http")
|
||||||
|
|
||||||
try:
|
try:
|
||||||
with urllib.request.urlopen(request, timeout=600) as response:
|
# todo: make timeout a param?
|
||||||
|
with urllib.request.urlopen(request, timeout=900) as response:
|
||||||
if response.getcode() != 204:
|
if response.getcode() != 204:
|
||||||
self.logger.warning(
|
self.logger.warning(
|
||||||
'got "%s %s" response on warcprox '
|
'got "%s %s" response on warcprox '
|
||||||
|
Loading…
x
Reference in New Issue
Block a user