Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Speed up batching of events in evaluator
asyncio wait_for used in evaluator is "slow" in performance when dealing with O(100K) events in the event queue. Therefore the suggestion is to replace it with direct fetching (via get_nowait()) and instead just sleep whenever the event queue is empty. Co-authored-by: Lars Evje <[email protected]>
- Loading branch information