Blame SOURCES/0074-Allow-up-to-4096-simultaneous-connections.patch

17b0f1
From b4ea0d8280135b7eabb1bb70e24d62c86e065db3 Mon Sep 17 00:00:00 2001
17b0f1
From: Hannes Reinecke <hare@suse.de>
17b0f1
Date: Wed, 4 Mar 2015 16:32:17 +0100
17b0f1
Subject: [PATCH] Allow up to 4096 simultaneous connections
17b0f1
17b0f1
On large system we hit the limit on 512 simultaneous dbus
17b0f1
connections, resulting in tons of annoying messages:
17b0f1
17b0f1
Too many concurrent connections, refusing
17b0f1
17b0f1
This patch raises the limit to 4096.
17b0f1
17b0f1
(cherry picked from commit cbecf9bf929318533fea798c57c10efcf6b2b447)
17b0f1
---
17b0f1
 src/core/dbus.c | 2 +-
17b0f1
 1 file changed, 1 insertion(+), 1 deletion(-)
17b0f1
17b0f1
diff --git a/src/core/dbus.c b/src/core/dbus.c
17b0f1
index 260775cd85..85b5174868 100644
17b0f1
--- a/src/core/dbus.c
17b0f1
+++ b/src/core/dbus.c
17b0f1
@@ -44,7 +44,7 @@
17b0f1
 #include "bus-internal.h"
17b0f1
 #include "selinux-access.h"
17b0f1
 
17b0f1
-#define CONNECTIONS_MAX 512
17b0f1
+#define CONNECTIONS_MAX 4096
17b0f1
 
17b0f1
 static void destroy_bus(Manager *m, sd_bus **bus);
17b0f1