-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: chunked tasks in remind_all view
ENT-8635 | The remind_all view now only reads the data necessary from the DB. This makes it less likely that the request to remind-all times out. Also, it now invokes more than 1 big celery task - it chunks the emails to send into smaller pieces, and invokes one task per chunk. This makes it less likely that the celery task will fail or retry too big a chunk of work (i.e. every assigned licenses in the plan).
- Loading branch information
1 parent
664b16e
commit 24290a1
Showing
2 changed files
with
35 additions
and
15 deletions.
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
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