[systemd-commits] src/libsystemd-bus

Lennart Poettering lennart at kemper.freedesktop.org
Fri Nov 8 18:34:02 CET 2013


 src/libsystemd-bus/bus-internal.h |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 7a4a210539396ac5c9b9469fb03866ddb6d09fb2
Author: Lennart Poettering <lennart at poettering.net>
Date:   Fri Nov 8 18:23:47 2013 +0100

    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.

diff --git a/src/libsystemd-bus/bus-internal.h b/src/libsystemd-bus/bus-internal.h
index 2112a29..5fc3a24 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)



More information about the systemd-commits mailing list