Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Skip reporter queries with empty states or queues
Querying with an empty list may cause the following error: ``` (Postgrex.Error) ERROR 42809 (wrong_object_type) op ANY/ALL (array) ``` This fixes the erorr by skipping queries for empty lists. This could happen if all of the states were above the estimate threshold, or no active queues were found. Closes oban-bg/oban#1182
- Loading branch information