lightning: timeout cli lightning calls in 10 sec
This commit is contained in:
parent
6bdec74a8f
commit
21e3e87419
@ -703,7 +703,7 @@ class Commands:
|
|||||||
newResult = FakeQtSignal()
|
newResult = FakeQtSignal()
|
||||||
self.wallet.lightning.setConsole(MyConsole())
|
self.wallet.lightning.setConsole(MyConsole())
|
||||||
lightning.lightningCall(self.wallet.lightning, lcmd)(*args)
|
lightning.lightningCall(self.wallet.lightning, lcmd)(*args)
|
||||||
return q.get()
|
return q.get(block=True, timeout=10)
|
||||||
|
|
||||||
param_descriptions = {
|
param_descriptions = {
|
||||||
'privkey': 'Private key. Type \'?\' to get a prompt.',
|
'privkey': 'Private key. Type \'?\' to get a prompt.',
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user