-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Queue.get() non-blocking handler in main event loop
- Loading branch information
1 parent
9fd88c3
commit 9375c5a
Showing
1 changed file
with
4 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Are we in tight loop until event_queue.qsize() returns >0.
This if check can be removed as below we are trying to fetch every 1 sec until timeout.