Increase default read/write timeouts from 30sec to 15minutes (#4888)
The default timeout of 30secs is not enough for high latency environments, change these values to use 15 minutes instead. With 30secs I/O timeouts seem to be quite common, this leads to pretty much most SDKs and clients reconnect. This in-turn causes significant performance problems. On a low latency interconnect this can be quite challenging to transfer large amounts of data. Setting this value to 15minutes covers pretty much all known cases. This PR was tested with `wondershaper <NIC> 20000 20000` by limiting the network bandwidth to 20Mbit/sec. Default timeout caused a significant amount of I/O timeouts, leading to constant retires from the client. This seems to be more common with tools like rclone, restic which have high concurrency set by default. Once the value was fixed to 15minutes i/o timeouts stopped and client could steadily upload data to the server even while saturating the network. Fixes #4670master
parent
0d154871d5
commit
6c2bc0568b
Loading…
Reference in new issue