mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-02-21 02:01:31 +00:00
Slightly longer timeout.
This commit is contained in:
parent
99de5fa54c
commit
b6e20dfa81
@ -963,8 +963,9 @@ async def _pick_a_http_server(
|
||||
|
||||
first_nurl = await result
|
||||
if first_nurl is None:
|
||||
# Failed to connect to any of the NURLs:
|
||||
await deferLater(reactor, 1, lambda: None)
|
||||
# Failed to connect to any of the NURLs, try again in a few
|
||||
# seconds:
|
||||
await deferLater(reactor, 5, lambda: None)
|
||||
else:
|
||||
return first_nurl
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user