mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-06-18 23:38:18 +00:00
test: extend timeout on the hotline file that prevents the client from stopping itself
The 20-second timeout was apparently tripped on my Powerbook G4 "draco".
This commit is contained in:
@ -292,7 +292,7 @@ class Client(node.Node, pollmixin.PollMixin):
|
||||
def _check_hotline(self, hotline_file):
|
||||
if os.path.exists(hotline_file):
|
||||
mtime = os.stat(hotline_file)[stat.ST_MTIME]
|
||||
if mtime > time.time() - 20.0:
|
||||
if mtime > time.time() - 40.0:
|
||||
return
|
||||
else:
|
||||
self.log("hotline file too old, shutting down")
|
||||
|
Reference in New Issue
Block a user