has_pending_actions_due()
performance improvements
#1036
Labels
good first issue
The issue is a good candidate for the first community contribution/for a newcomer to the team.
priority: normal
The issue/PR is normal priority—not many people are affected or there’s a workaround, etc.
type: enhancement
The issue is a request for an enhancement.
has_pending_actions_due()
should'claimed'
astrue
to the query to avoid triggering runners when there are no unclaimed tasks'per_page'
with value 1 since it's sufficient to get 1 result (instead of the default 5)'orderby'
with value'none'
to avoid unnecessary overhead of sorting the actions table'count'
as that's faster than SELECT and sufficient for this use caseThe text was updated successfully, but these errors were encountered: