Fix: perform local data pending before checking data pending with relayd
authorJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Tue, 11 Sep 2018 00:09:15 +0000 (20:09 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 19 Sep 2018 00:06:22 +0000 (20:06 -0400)
commit52a799c0f07e50d56280a4cf19731102b0a24658
treec3a8c13742d91628a0ef9bf4221073ed163f187a
parent695f8ee100ee631ac103456c78dc77af8aff3f3b
Fix: perform local data pending before checking data pending with relayd

Performing the data pending check in two phases, local and network,
reduces the total number network operations needed.

Doing the local check first enable early return in cases where data is
still pending locally.

Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/common/consumer/consumer.c
This page took 0.025384 seconds and 4 git commands to generate.