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.
This commit is contained in:
Hannes Reinecke 2015-03-04 16:32:17 +01:00 committed by Zbigniew Jędrzejewski-Szmek
parent 1c724e9e0e
commit cbecf9bf92
1 changed files with 1 additions and 1 deletions

View File

@ -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);