diff options
author | Simon Rettberg | 2014-12-22 15:51:30 +0100 |
---|---|---|
committer | Simon Rettberg | 2014-12-22 15:51:30 +0100 |
commit | cce7cf2c1428d174dd49177358dc52b234e97e5c (patch) | |
tree | db0fa8c046e5c694bde7ff5afdff96c773ad6d64 /src/config.h | |
parent | get-version.sh will always work in the directory it's placed in (diff) | |
download | dnbd3-cce7cf2c1428d174dd49177358dc52b234e97e5c.tar.gz dnbd3-cce7cf2c1428d174dd49177358dc52b234e97e5c.tar.xz dnbd3-cce7cf2c1428d174dd49177358dc52b234e97e5c.zip |
[SERVER] Configurable client timeout, adaptive replication speed (to be tested against varying bw/latency), retry sendfile call if ret <= len
Diffstat (limited to 'src/config.h')
-rw-r--r-- | src/config.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/config.h b/src/config.h index 45593c2..6f8c33e 100644 --- a/src/config.h +++ b/src/config.h @@ -63,7 +63,6 @@ #define COMMENT_LENGTH 120 // in seconds if not stated otherwise (MS = milliseconds) -#define SOCKET_TIMEOUT_SERVER_MS 15000 #define SOCKET_TIMEOUT_SERVER_RETRIES 3 // When waiting for next header, max reties * above timeout is the actual total timeout (ping timeout) #define SOCKET_TIMEOUT_CLIENT_DATA 2 #define SOCKET_TIMEOUT_CLIENT_DISCOVERY 1 |