Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

change worker_max_tasks_per_child to 2000 #1472

Merged
merged 2 commits into from
Dec 10, 2024
Merged

Conversation

terrazoon
Copy link
Contributor

Description

We are still suffering from periodic celery retries with can cause IntegrityErrors and such. Since we currently see no signs of resource leakage, increase worker_max_tasks_per_child from 500 to 2000, which should cut retries by 75%.

Security Considerations

N/A

Copy link
Contributor

@ccostino ccostino left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, @terrazoon!

Copy link
Contributor

@ccostino ccostino left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks again, @terrazoon!

@terrazoon terrazoon requested a review from stvnrlly December 10, 2024 20:49
@terrazoon terrazoon merged commit 0e5b08c into main Dec 10, 2024
7 checks passed
@terrazoon terrazoon deleted the change_retry_schedule branch December 10, 2024 21:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants