mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 15:14:23 +01:00
devtools/gossipwith: change timeout to seconds.
I always get this wrong, then wonder why it's dying! Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
committed by
Christian Decker
parent
709c98f539
commit
3437f7e25d
@@ -877,7 +877,7 @@ class LightningNode(object):
|
||||
timeout=TIMEOUT,
|
||||
stdout=subprocess.PIPE).stdout.strip()
|
||||
out = subprocess.run(['devtools/gossipwith',
|
||||
'--timeout-after={}'.format(int(math.sqrt(TIMEOUT) * 1000)),
|
||||
'--timeout-after={}'.format(int(math.sqrt(TIMEOUT) + 1)),
|
||||
'{}@localhost:{}'.format(self.info['id'],
|
||||
self.port),
|
||||
query],
|
||||
|
||||
Reference in New Issue
Block a user