chiark / gitweb /
sd-bus: bump message queue size
authorLennart Poettering <lennart@poettering.net>
Wed, 31 Aug 2016 18:09:31 +0000 (20:09 +0200)
committerSven Eden <yamakuzure@gmx.net>
Wed, 5 Jul 2017 06:50:53 +0000 (08:50 +0200)
Let's bump it further, as this the current limit turns out to be problematic
IRL. Let's bump it to more than twice what we know of is needed.

Fixes: #4068
src/libelogind/sd-bus/bus-internal.h

index dad6218b8d9b94ee82ee8cbd764f74ba4f7affbb..4c912f582dde01e34d098256b50c9488c14675d9 100644 (file)
@@ -328,8 +328,8 @@ struct sd_bus {
 
 #define BUS_DEFAULT_TIMEOUT ((usec_t) (25 * USEC_PER_SEC))
 
-#define BUS_WQUEUE_MAX 1024
-#define BUS_RQUEUE_MAX 64*1024
+#define BUS_WQUEUE_MAX (192*1024)
+#define BUS_RQUEUE_MAX (192*1024)
 
 #define BUS_MESSAGE_SIZE_MAX (64*1024*1024)
 #define BUS_AUTH_SIZE_MAX (64*1024)