« Previous | Next » 

Revision 135a6c6a

ID135a6c6a5c2a611789f43887cc63daaa88255c85

Added by Iustin Pop almost 15 years ago

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.

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences