From: Lennart Poettering Date: Thu, 24 Feb 2011 01:38:02 +0000 (+0100) Subject: logger: leave the logger longer around and allow it do handle more connections X-Git-Tag: v19~21 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=84168c7740e8b370cb92548bd21defea0150c69f;p=systemd logger: leave the logger longer around and allow it do handle more connections --- diff --git a/src/logger.c b/src/logger.c index 342c3078..510f4e22 100644 --- a/src/logger.c +++ b/src/logger.c @@ -38,9 +38,9 @@ #include "sd-daemon.h" #include "tcpwrap.h" -#define STREAMS_MAX 256 +#define STREAMS_MAX 4096 #define SERVER_FD_MAX 16 -#define TIMEOUT ((int) (10*MSEC_PER_SEC)) +#define TIMEOUT ((int) (5*60*MSEC_PER_SEC)) typedef struct Stream Stream;