Change-Id: I989a600a7f664215545e4e3187448f431c4d10a2
Signed-off-by: Michal Bloch <m.bloch@samsung.com>
dbus_connection_send (conn, msg, nullptr);
dbus_message_unref (msg);
+ /* `send` is only required to add a message to the queue.
+ * It will usually flush the queue once messages start
+ * piling up, but we don't want any to linger around until
+ * then since that counts against their latency. */
+ dbus_connection_flush (conn);
+
std::this_thread::sleep_for (opt.delay);
}