diff options
author | Simon Rettberg | 2017-10-30 20:20:30 +0100 |
---|---|---|
committer | Simon Rettberg | 2017-10-30 20:20:30 +0100 |
commit | 6c0a9558a27c73e3ff06fb93331a745ec9f5fd34 (patch) | |
tree | c15932bdb707c5cf393e1aee2bfacddf18ff08de | |
parent | [SERVER] rpc: Honor client's Connection header, add some comments (diff) | |
download | dnbd3-6c0a9558a27c73e3ff06fb93331a745ec9f5fd34.tar.gz dnbd3-6c0a9558a27c73e3ff06fb93331a745ec9f5fd34.tar.xz dnbd3-6c0a9558a27c73e3ff06fb93331a745ec9f5fd34.zip |
[BENCH] Fix compile
-rw-r--r-- | src/bench/connection.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bench/connection.c b/src/bench/connection.c index 94d5aee..129ae3c 100644 --- a/src/bench/connection.c +++ b/src/bench/connection.c @@ -15,6 +15,7 @@ /* Constants */ static const size_t SHORTBUF = 100; +#define SOCKET_KEEPALIVE_TIMEOUT (3) #define MAX_ALTS (8) #define MAX_HOSTS_PER_ADDRESS (2) // If a server wasn't reachable this many times, we slowly start skipping it on measurements |