#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
Member

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 added 1 commit 2025-04-27 23:57:52 +00:00
stanislav.hejny added 1 commit 2025-04-28 20:45:29 +00:00
stanislav.hejny merged commit dbdf87ad77 into develop 2025-04-28 20:46:24 +00:00
stanislav.hejny deleted branch backpressure-idle 2025-04-28 20:46:49 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: clevermicro/amq-adapter-python#22