diff options
author | Simon Rettberg | 2019-08-22 16:14:27 +0200 |
---|---|---|
committer | Simon Rettberg | 2019-08-22 16:14:27 +0200 |
commit | 5fb4ef278be86fb6bda487f65ec4855d830bf4e5 (patch) | |
tree | f06c1ce5466b14bb4ff47dbd2939e11b8eedf6d0 /src/bench/connection.c | |
parent | [SERVER] Put request handle into CMD_ERROR reply (diff) | |
download | dnbd3-5fb4ef278be86fb6bda487f65ec4855d830bf4e5.tar.gz dnbd3-5fb4ef278be86fb6bda487f65ec4855d830bf4e5.tar.xz dnbd3-5fb4ef278be86fb6bda487f65ec4855d830bf4e5.zip |
[SERVER] Get rid of alt-servers thread, per-uplink rtt history
Alt-Server checks are now run using the threadpool, so we don't need a
queue and dedicated thread anymore. The rtt history is now kept per
uplink, so many uplinks won't overwhelm the history, making its time
window very short.
Also the fail counter is now split up; a global one for when the server
actually isn't reachable, a local (per-uplink) one for when the server
is reachable but doesn't serve the requested image.
Diffstat (limited to 'src/bench/connection.c')
0 files changed, 0 insertions, 0 deletions