diff options
author | Simon Rettberg | 2015-11-30 17:31:06 +0100 |
---|---|---|
committer | Simon Rettberg | 2015-11-30 17:31:06 +0100 |
commit | 1d0211719bc6ad76f924f8c08e1a28f0509cd4fd (patch) | |
tree | 58b8f520514357bb689c781bcaa717092649b03e /src/config.h | |
parent | [FUSE] Compiles again (diff) | |
download | dnbd3-1d0211719bc6ad76f924f8c08e1a28f0509cd4fd.tar.gz dnbd3-1d0211719bc6ad76f924f8c08e1a28f0509cd4fd.tar.xz dnbd3-1d0211719bc6ad76f924f8c08e1a28f0509cd4fd.zip |
[FUSE] It works! Kinda...
Diffstat (limited to 'src/config.h')
-rw-r--r-- | src/config.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/config.h b/src/config.h index 3ec0f8b..3ebfd54 100644 --- a/src/config.h +++ b/src/config.h @@ -69,6 +69,7 @@ #define NUMBER_SERVERS 8 // Number of alt servers per image/device #define RTT_THRESHOLD_FACTOR(us) (((us) * 2) / 3) // 2/3 = current to best must be 33% worse +#define RTT_ABSOLUTE_THRESHOLD (80000) // Or 80ms worse #define RTT_UNREACHABLE 0x7FFFFFFul // Use this value for timeout/unreachable as RTT. Don't set too high or you might get overflows. 0x7FFFFFF = 134 seconds // This must be a power of two: #define RTT_BLOCK_SIZE 4096 |