increase keep-alive timeout

Tue, 13 Aug 2024 20:08:13 +0200

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Tue, 13 Aug 2024 20:08:13 +0200
changeset 546
5494c28db896
parent 545
720893ec7d48
child 547
280bf87c8689

increase keep-alive timeout

src/server/daemon/sessionhandler.c file | annotate | diff | comparison | revisions
--- a/src/server/daemon/sessionhandler.c	Tue Aug 13 19:59:42 2024 +0200
+++ b/src/server/daemon/sessionhandler.c	Tue Aug 13 20:08:13 2024 +0200
@@ -535,7 +535,7 @@
     keepalive->data2 = ioevent;
     keepalive->destroy = evt_keep_alive_destroy;
     keepalive->created = time(NULL);
-    keepalive->expire = keepalive->created + 10; // TODO: config
+    keepalive->expire = keepalive->created + 120; // TODO: config
     ev_watchlist_add(h, keepalive);
     
     // wait for input

mercurial