commit d9be11ad05a8d60dc1aee3c7e7f872625641314d
parent ecf390259cfe193e7a41fbd1b7a4380621b8f677
Author: Christoph Lohmann <20h@r-36.net>
Date: Thu, 23 Dec 2021 22:11:07 +0100
Increase ping timeout for bad connections.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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 };