Skip to content

Commit d224d76

Browse files
authored
Update plugin-adapter.py
change timeout of the "fees" call too, to increase responsiveness of plugin_adapter in case one of the utxo_plugin is not responding.
1 parent b028dc0 commit d224d76

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

plugin-adapter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -575,7 +575,7 @@ async def get_plugin_fees(currency):
575575

576576
socket = coins[currency]['socket']
577577

578-
res = await socket.send_message("blockchain.relayfee", (), timeout=5)
578+
res = await socket.send_message("blockchain.relayfee", (), timeout=1)
579579

580580
if res == OS_ERROR or res == OTHER_EXCEPTION:
581581
return None

0 commit comments

Comments
 (0)