mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-27 16:15:05 +00:00
14 lines
566 B
Diff
14 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))
|