anitazha / rpms / systemd

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