summaryrefslogtreecommitdiff
path: root/src/libsystemd-bus
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-11-08 18:23:47 +0100
committerLennart Poettering <lennart@poettering.net>2013-11-08 18:23:47 +0100
commit7a4a210539396ac5c9b9469fb03866ddb6d09fb2 (patch)
treecfbd8f176fc2cd1830162ac7a1606dc16fae0a69 /src/libsystemd-bus
parent9588bc32096fc8342bfd8b989689717186d7d86e (diff)
bus: allow queuing more local msgs
When issuing a synchronous "systemctl daemon-reload" requests this will send out a tonload of UnitRemoved+UnitNew signals, that we will queue locally. When we wait for the message reply, we should be able to queue those, hence bump the limits on locally queuing messages.
Diffstat (limited to 'src/libsystemd-bus')
-rw-r--r--src/libsystemd-bus/bus-internal.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsystemd-bus/bus-internal.h b/src/libsystemd-bus/bus-internal.h
index 2112a29687..5fc3a2472e 100644
--- a/src/libsystemd-bus/bus-internal.h
+++ b/src/libsystemd-bus/bus-internal.h
@@ -253,8 +253,8 @@ struct sd_bus {
#define BUS_DEFAULT_TIMEOUT ((usec_t) (25 * USEC_PER_SEC))
-#define BUS_WQUEUE_MAX 128
-#define BUS_RQUEUE_MAX 128
+#define BUS_WQUEUE_MAX 1024
+#define BUS_RQUEUE_MAX 64*1024
#define BUS_MESSAGE_SIZE_MAX (64*1024*1024)
#define BUS_AUTH_SIZE_MAX (64*1024)