From 671613059af07587118e719f4269472d8727bc2e Mon Sep 17 00:00:00 2001 From: Srayman Date: Sun, 15 Sep 2019 21:06:44 -0400 Subject: [PATCH] updating timout for cases where node gets overloaded and takes longer to respond to RPC --- node_stats.py | 2 +- record_confirmations.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/node_stats.py b/node_stats.py index d867327..4e3b349 100644 --- a/node_stats.py +++ b/node_stats.py @@ -22,7 +22,7 @@ parser.add_argument('-port', '--node_port', type=str, help='Nano node port', default='55000') parser.add_argument('-save', '--save', type=int, help='Save blocks to disk how often (in seconds) should be multiple of --delay', default=180) parser.add_argument('-delay', '--delay', type=int, help='recorder delay (in seconds)', default=15) -parser.add_argument('-timeout', '--timeout', type=float, help='rpc request timeout (in seconds)', default=10) +parser.add_argument('-timeout', '--timeout', type=float, help='rpc request timeout (in seconds)', default=60) args = parser.parse_args() json_data = [] diff --git a/record_confirmations.py b/record_confirmations.py index e4aeda3..d20e9b7 100644 --- a/record_confirmations.py +++ b/record_confirmations.py @@ -22,7 +22,7 @@ parser.add_argument('-port', '--node_port', type=str, help='Nano node port', default='55000') parser.add_argument('-save', '--save', type=int, help='Save blocks to disk how often (in seconds) should be multiple of --delay', default=60) parser.add_argument('-delay', '--delay', type=int, help='recorder delay (in seconds)', default=10) -parser.add_argument('-timeout', '--timeout', type=float, help='rpc request timeout (in seconds)', default=30) +parser.add_argument('-timeout', '--timeout', type=float, help='rpc request timeout (in seconds)', default=60) args = parser.parse_args() json_data = []