Introduce timeout in RAPI queries
The patch adds two constants in Types.hs for connect and query timeout, then modifies Rapi.hs to use them as the connect and general curl timeout. Rapi could be improved more, as currently we wait double the total timeout due to not aborting early in case the node queries failed.
Loading
Please register or sign in to comment