Skip to content

Process OTA messages asynchronously#39

Open
openminddev wants to merge 1 commit into
mainfrom
fix-ota-queue
Open

Process OTA messages asynchronously#39
openminddev wants to merge 1 commit into
mainfrom
fix-ota-queue

Conversation

@openminddev
Copy link
Copy Markdown
Contributor

Convert OTA message handling to an asynchronous worker: add threading and Queue imports, create an action_queue and a daemon worker_thread in BaseOTA, and modify ota_process to enqueue incoming messages. Add process_action_queue to drain the queue and call a new process_message method (moved message processing logic) with error logging and task_done() handling.

Convert OTA message handling to an asynchronous worker: add threading and Queue imports, create an action_queue and a daemon worker_thread in BaseOTA, and modify ota_process to enqueue incoming messages. Add process_action_queue to drain the queue and call a new process_message method (moved message processing logic) with error logging and task_done() handling.
@openminddev openminddev requested a review from shicaih June 3, 2026 23:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant