Arnaud Morin b62208a54c Use StopWatch timer when waiting for message
When waiting for a message in a queue, the queue.get(block=True) prevent
the heartbeats to be sent at correct interval.

So instead of blocking the thread, doing a loop using a StopWatch timer
until the timeout is reached.

Closes-Bug: #2035113

Signed-off-by: Arnaud Morin <arnaud.morin@ovhcloud.com>
Change-Id: Ie5cf5d2bd281508bcd2db1409f18ad96b0822639
2024-02-16 14:50:49 +01:00
2015-09-24 18:11:22 +08:00
2019-04-19 19:31:51 +00:00
2024-01-26 01:10:57 +09:00
2018-07-04 08:33:49 +07:00
2024-01-23 13:01:18 +09:00
2024-01-23 13:23:08 +00:00
2020-02-10 18:33:15 +01:00
2024-01-25 12:20:39 +09:00

Team and repository tags

image

Oslo Messaging Library

Latest Version

Downloads

The Oslo messaging API supports RPC and notifications over a number of different messaging transports.

Description
OpenStack library for messaging
Readme 36 MiB
Languages
Python 99.8%
Shell 0.2%