summary refs log tree commit diff
path: root/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'config.h')
-rw-r--r--config.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/config.h b/config.h
index 19d2958..a1a8c4a 100644
--- a/config.h
+++ b/config.h
@@ -13,3 +13,7 @@
 #define PEER_USER_MAX 16
 #define PEER_REAL_MAX 32
 #define PEER_HOST_MAX 64
+#define PEER_PINGTIMEOUT 120
+#define PEER_PONGTIMEOUT 20
+
+#define POLL_TIMEOUT PEER_PINGTIMEOUT