]> git.ipfire.org Git - thirdparty/dbus.git/commitdiff
dbus-daemon test: avoid reaching pending reply limit
authorSimon McVittie <simon.mcvittie@collabora.co.uk>
Fri, 1 Jul 2016 11:38:33 +0000 (12:38 +0100)
committerSimon McVittie <smcv@debian.org>
Tue, 16 Aug 2016 16:44:30 +0000 (17:44 +0100)
We were not actually doing what was intended (flooding the bus with
10k or 100k messages for the other side) because the bus was limiting
the sender to 128 parallel method calls.

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=86442
Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
test/data/valid-config-files/incoming-limit.conf.in

index 40ff22447c16f308729842191c0e57f364a39c42..cd81344298f6be3f12ac84cbd621010c4ec12033 100644 (file)
@@ -15,4 +15,7 @@
   </policy>
 
   <limit name="max_incoming_bytes">1</limit>
+
+  <!-- Avoid reaching this limit -->
+  <limit name="max_replies_per_connection">1000000</limit>
 </busconfig>