HomePhabricator

rpc: Split option -rpctimeout into -rpcservertimeout and -rpcclienttimeout
2190ea6c4e7fUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

rpc: Split option -rpctimeout into -rpcservertimeout and -rpcclienttimeout

The two timeouts for the server and client, are essentially different:

  • In the case of the server it should be a lower value to avoid clients

clogging up connection slots

  • In the case of the client it should be a high value to accomedate slow responses from the server, for example for slow queries or when the lock is contended

Split the options into -rpcservertimeout and -rpcclienttimeout with
respective defaults of 30 and 900.

Details

Provenance
Wladimir J. van der Laan <laanwj@gmail.com>Authored on Sep 18 2015, 13:45
schancelPushed on Jan 5 2018, 21:58
schancelPushed on Jan 5 2018, 21:39
schancelPushed on Jan 5 2018, 21:17
Parents
rSTAGING8b2d6edaa9fb: http: Disable libevent debug logging, if not explicitly enabled
Branches
Unknown
Tags
Unknown

Event Timeline

Wladimir J. van der Laan <laanwj@gmail.com> committed rSTAGING2190ea6c4e7f: rpc: Split option -rpctimeout into -rpcservertimeout and -rpcclienttimeout (authored by Wladimir J. van der Laan <laanwj@gmail.com>).Sep 21 2015, 15:15