commit d9be11ad05a8d60dc1aee3c7e7f872625641314d
Author:     Christoph Lohmann <[email protected]>
AuthorDate: Thu Dec 23 22:11:07 2021 +0100
Commit:     Hiltjo Posthuma <[email protected]>
CommitDate: Sat Dec 25 12:10:10 2021 +0100

    Increase ping timeout for bad connections.

diff --git a/ii.c b/ii.c
index 426fcff..1b3bb9e 100644
--- a/ii.c
+++ b/ii.c
@@ -30,7 +30,7 @@ size_t strlcpy(char *, const char *, size_t);
 
 #define IRC_CHANNEL_MAX   200
 #define IRC_MSG_MAX       512 /* guaranteed to be <= than PIPE_BUF */
-#define PING_TIMEOUT      300
+#define PING_TIMEOUT      600
 
 enum { TOK_NICKSRV = 0, TOK_USER, TOK_CMD, TOK_CHAN, TOK_ARG, TOK_TEXT, 
TOK_LAST };
 

Reply via email to