Page MenuHomePhabricator

Make Donations queue consumer wait for new messages
Closed, ResolvedPublic2 Estimated Story Points

Description

When the queue consumer gets to the end of the queue, it finishes its run and doesn't do anything until the next scheduled run. We could be a little more efficient with our time if it just slept and waited for new messages like the pending queue consumer does.

Note that this will mess with the donations per second statistics if we deploy it before refactoring that stats collector (see T323273)

Event Timeline

Dwisehaupt set the point value for this task to 2.Nov 28 2022, 9:17 PM

Change 864883 had a related patch set uploaded (by Ejegg; author: Ejegg):

[wikimedia/fundraising/crm@master] Add option to donation QC to wait for messages

https://gerrit.wikimedia.org/r/864883

Change 864883 merged by Ejegg:

[wikimedia/fundraising/crm@master] Add option to donation QC to wait for messages

https://gerrit.wikimedia.org/r/864883

Ejegg claimed this task.

There's now an option to make it wait, though we haven't turned it on.