summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-02-24 02:38:02 +0100
committerLennart Poettering <lennart@poettering.net>2011-02-24 02:38:02 +0100
commit84168c7740e8b370cb92548bd21defea0150c69f (patch)
tree9e84b2378f1b3f417f242dfb616777a9df8e9928
parent5d44db4a905c62d6cf0dfabbf61df49621efec22 (diff)
logger: leave the logger longer around and allow it do handle more connections
-rw-r--r--src/logger.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/logger.c b/src/logger.c
index 342c307899..510f4e223d 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;