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:05:43 +0000 (20:05 -0400)
commit78f18a7593524ed7db55677edef54e78bf9618d4
treeb2a5d8cd374ad45a5865ec232a016f471e5e8262
parent815e640448dd4fc76e34f26840cf9fa1e8f9adc6
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.02523 seconds and 4 git commands to generate.