You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: better handle errors in celery result backend
- use celery's own "retry on result-backend error" logic
- remove `die_on_unhandled` hack
- new env var: `CELERY_RESULT_BACKEND_MAX_RETRIES` (default 173)
- retry on error caused by `get_or_create` in overlapping
transactions (with less-strict transaction isolation levels)
- port fixes from celery's `BaseKeyValueStoreBackend`:
- avoid clobbering successes with "worker lost" or other errors
- avoid error trying to get non-existent task results
- use celery's `BaseBackend` instead of `BaseDictBackend`
(equivalent for back-compat; let's use the better name)
0 commit comments