]> err.no Git - systemd/commitdiff
logger: leave the logger longer around and allow it do handle more connections
authorLennart Poettering <lennart@poettering.net>
Thu, 24 Feb 2011 01:38:02 +0000 (02:38 +0100)
committerLennart Poettering <lennart@poettering.net>
Thu, 24 Feb 2011 01:38:02 +0000 (02:38 +0100)
src/logger.c

index 342c30789921d1245250c608f6842f5149cd8cb1..510f4e223d00dd479a50e2670d19d82ab55f892e 100644 (file)
@@ -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;