Closed minghuaw closed 3 years ago
Two options are being considered.
client.set_default_timeout(duration: Duration)
I would prefer the second option:
client.set_default_timeout(duration: Duration)
Now a default timeout of 10 seconds is set when a new client is created, but the default timeout can be changed with set_default_timeout(duration)
. If you are interested in setting the timeout only for the next RPC call, there is another method set_next_timeout(duration)
Re-opening this issue for future discussions on changing timeouts
This is the tracking issue for discussion on a default timeout duration in version 0.8