/ readthedocs.org Public
Upgrade Celery and friends to latest versions #7786
Add this suggestion to a batch that can be applied as a single commit. This suggestion is invalid because no changes were made to the code. Suggestions cannot be applied while the pull request is closed. Suggestions cannot be applied while viewing a subset of changes. Only one suggestion per line can be applied in a batch. Add this suggestion to a batch that can be applied as a single commit. Applying suggestions on deleted lines is not supported. You must change the existing code in this line in order to create a valid suggestion. Outdated suggestions cannot be applied. This suggestion has been applied or marked resolved. Suggestions cannot be applied from pending reviews. Suggestions cannot be applied on multi-line comments. Suggestions cannot be applied while the pull request is queued to merge.
We are receiving "Acquire on closed pool" error randomly after running instances
for more than ~1 day and calling
task that kills VM instances.
This seems to be a known problem in 3.x Celery verions but some users reported
that it's still present in <4.4.
Celery released 5.x on September, so I'm upgrading to it directly as a test. If
everything keep working together, we can leave it. Otherwise, we can go back to
latest 4.4.x series: 4.4.7.
Sentry issue on production: https://sentry.io/organizations/read-the-docs/issues/2101960715/?project=148442&query=is%3Aunresolved+builds&statsPeriod=14d