#15 - Implement Backpressure UPDATE & IDLE, setup AMQ handler in its own thread #22

Merged
stanislav.hejny merged 2 commits from backpressure-idle into develop 2025-04-28 20:46:24 +00:00

new class BackpressureHandler that encapsulates the Backpressure logic, runs a loop in its own thread. It issues OVERLOAD, UPDATE and IDLE events.
To make this work with CleverBrag, the AMQService and RabbitMQ handling now runs in its own thread too (it used to share the thread with the main logic)
Added thread ID to log statements to better track the output of each thread.

new class BackpressureHandler that encapsulates the Backpressure logic, runs a loop in its own thread. It issues OVERLOAD, UPDATE and IDLE events. To make this work with CleverBrag, the AMQService and RabbitMQ handling now runs in its own thread too (it used to share the thread with the main logic) Added thread ID to log statements to better track the output of each thread.
stanislav.hejny deleted branch backpressure-idle 2025-04-28 20:46:49 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: clevermicro/amq-adapter-python#22
No description provided.