9543354213
GitOrigin-RevId: c21ba4f7bb4a3d621eb1d187e6b5e816bb85380c
13 lines
566 B
Diff
13 lines
566 B
Diff
diff --git a/src/wsdd.py b/src/wsdd.py
|
|
index 88a7a2a..360e4f7 100755
|
|
--- a/src/wsdd.py
|
|
+++ b/src/wsdd.py
|
|
@@ -699,7 +699,7 @@ class WSDClient(WSDUDPMessageHandler):
|
|
request.add_header('Host', host)
|
|
|
|
try:
|
|
- with urllib.request.urlopen(request, None, 2.0) as stream:
|
|
+ with urllib.request.urlopen(request, None, 5.0) as stream:
|
|
self.handle_metadata(stream.read(), endpoint, xaddr)
|
|
except urllib.error.URLError as e:
|
|
logger.warning('could not fetch metadata from: {} {}'.format(url, e))
|