anitazha / rpms / systemd

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