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:08 +0000 (20:06 -0400)
commitb789125113ff140dc34d0bc3b9cec3967300e9cc
tree5a91350647561382bdef0483e8d5f4b7552195fb
parenta86c0657eb37be08e07549a2444c5dc05b0dbda6
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.026234 seconds and 5 git commands to generate.