Просмотр исходного кода

fix(celery): Fix warm shutdown crash in celery (#20110)

Billiard 3.5.0.5 introduces a bug that causes a crash on warm shutdown, as mentioned here:
https://github.com/celery/billiard/issues/260

This is fixed in a later billiard, but using it requires celery 4.3+. For now, just downgrading this
should fix the issue.

Fixes SENTRY-H7K
Dan Fuller 4 лет назад
Родитель
Сommit
6c5fa2d35c
1 измененных файлов с 4 добавлено и 1 удалено
  1. 4 1
      requirements-base.txt

+ 4 - 1
requirements-base.txt

@@ -66,7 +66,10 @@ urllib3==1.24.2
 uwsgi>2.0.0,<2.1.0
 
 # celery
-billiard==3.5.0.5
+# We specifically pin to 3.5.0.4 to avoid the issue in
+# https://github.com/celery/billiard/issues/260. Once we upgrade to Celery 4.3+ we can
+# use a newer version of billiard that has a proper fix.
+billiard==3.5.0.4
 kombu==4.2.2.post1
 
 # not directly used, but provides a speedup for redis