consumerd: on_sleep not called on stream when no data is available
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 17 Jun 2020 22:27:52 +0000 (18:27 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 17 Jun 2020 23:02:26 +0000 (19:02 -0400)
commit557e564e2803a98efc269c2986f544cc716eec2f
tree95607c78c84dc5dbee826f1dbacb7086c6568871
parentec8b7679bd90bf89e77b22fb6b3c7fca93b86e5a
consumerd: on_sleep not called on stream when no data is available

The `on_sleep` stream operation is not invoked when a stream's `get`
operation returns ENODATA (no data available).

Since this is not an error, the normal steps of the consumption loops
should be assumed.

Not marked as a fix as this is not problematic right now. However, it
could prove misleading in the future.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: I0812e3af4c967390ebba4128781787abf45c76a1
src/common/consumer/consumer.c
This page took 0.024411 seconds and 4 git commands to generate.