summaryrefslogtreecommitdiff
path: root/src/constants.h
diff options
context:
space:
mode:
authorsapier <Sapier at GMX dot net>2014-07-12 15:58:08 +0200
committersapier <Sapier at GMX dot net>2014-08-22 20:56:16 +0200
commit247a1ebf2317556eea79a018fb236a0145e55121 (patch)
treeb8f79437fab71d899de96a4a06bb536262927c99 /src/constants.h
parent944ffe9e532a3b2be686ef28c33313148760b1c9 (diff)
downloadminetest-247a1ebf2317556eea79a018fb236a0145e55121.tar.gz
minetest-247a1ebf2317556eea79a018fb236a0145e55121.tar.bz2
minetest-247a1ebf2317556eea79a018fb236a0145e55121.zip
Improve timeout calculation
gf
Diffstat (limited to 'src/constants.h')
-rw-r--r--src/constants.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/constants.h b/src/constants.h
index 526e44159..f22a6e8af 100644
--- a/src/constants.h
+++ b/src/constants.h
@@ -43,7 +43,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#define CONNECTION_TIMEOUT 30
-#define RESEND_TIMEOUT_MIN 0.333
+#define RESEND_TIMEOUT_MIN 0.1
#define RESEND_TIMEOUT_MAX 3.0
// resend_timeout = avg_rtt * this
#define RESEND_TIMEOUT_FACTOR 4