summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHannes Reinecke <hare@suse.de>2015-03-04 16:32:17 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2015-03-04 21:43:34 -0500
commitcbecf9bf929318533fea798c57c10efcf6b2b447 (patch)
treef6d8b66eb9882f5d239590f2d75a92459abe1ad7 /src
parent1c724e9e0ec5bc4bf791a3d7b1cf5b955cdb98b2 (diff)
Allow up to 4096 simultaneous connections
On large system we hit the limit on 512 simultaneous dbus connections, resulting in tons of annoying messages: Too many concurrent connections, refusing This patch raises the limit to 4096.
Diffstat (limited to 'src')
-rw-r--r--src/core/dbus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/dbus.c b/src/core/dbus.c
index 5dcb0d1c98..80f7589f24 100644
--- a/src/core/dbus.c
+++ b/src/core/dbus.c
@@ -43,7 +43,7 @@
#include "bus-internal.h"
#include "selinux-access.h"
-#define CONNECTIONS_MAX 512
+#define CONNECTIONS_MAX 4096
static void destroy_bus(Manager *m, sd_bus **bus);