dryang / rpms / systemd

Forked from rpms/systemd a year ago
Clone
803fb7
From aff078e9ce3c43410de9bc3a2e9cf7042ac799aa Mon Sep 17 00:00:00 2001
803fb7
From: Lennart Poettering <lennart@poettering.net>
803fb7
Date: Wed, 31 Aug 2016 20:09:31 +0200
803fb7
Subject: [PATCH] sd-bus: bump message queue size
803fb7
803fb7
Let's bump it further, as this the current limit turns out to be problematic
803fb7
IRL. Let's bump it to more than twice what we know of is needed.
803fb7
803fb7
Fixes: #4068
803fb7
803fb7
Cherry-picked from: 5ddda46
803fb7
Resolves: #1371205
803fb7
---
803fb7
 src/libsystemd/sd-bus/bus-internal.h | 4 ++--
803fb7
 1 file changed, 2 insertions(+), 2 deletions(-)
803fb7
803fb7
diff --git a/src/libsystemd/sd-bus/bus-internal.h b/src/libsystemd/sd-bus/bus-internal.h
803fb7
index 071b3da79..6a106862e 100644
803fb7
--- a/src/libsystemd/sd-bus/bus-internal.h
803fb7
+++ b/src/libsystemd/sd-bus/bus-internal.h
803fb7
@@ -326,8 +326,8 @@ struct sd_bus {
803fb7
 
803fb7
 #define BUS_DEFAULT_TIMEOUT ((usec_t) (25 * USEC_PER_SEC))
803fb7
 
803fb7
-#define BUS_WQUEUE_MAX 1024
803fb7
-#define BUS_RQUEUE_MAX 64*1024
803fb7
+#define BUS_WQUEUE_MAX (192*1024)
803fb7
+#define BUS_RQUEUE_MAX (192*1024)
803fb7
 
803fb7
 #define BUS_MESSAGE_SIZE_MAX (64*1024*1024)
803fb7
 #define BUS_AUTH_SIZE_MAX (64*1024)