imsubhamsingh / imsubhamsingh/OpenQ

Blocking Consumer Run Loop

Open
#8 0 comments 0 reactions 1 assignee Claimed by @imsubhamsingh View on GitHub
bug
Dominant language
Python
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

The Consumer run loop uses a blocking while loop with a sleep that checks for messages. This is not efficient as it continually polls the queue—even when empty. A better approach would involve using a thread synchronization mechanism like threading.Event to signal the presence of messages.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.