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:17 +0000 (19:02 -0400)
commitfa2f196b44f1b8fa07671658b8c74f37477c18cc
tree29511cca5755581046105174550da26c820e783f
parent131e541fdfe17635e9915489bac2139fb14c7349
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.028972 seconds and 4 git commands to generate.