From ae5e53392500db3a9b08ef35cf6e87ad6675e0c7 Mon Sep 17 00:00:00 2001 From: martin-martin Date: Thu, 28 Nov 2024 20:15:47 +0100 Subject: [PATCH 1/2] Update versions, add setting --- .../django_celery/settings.py | 1 + .../source_code_final/requirements.txt | 36 +++++++++---------- .../source_code_initial/requirements.txt | 36 +++++++++---------- 3 files changed, 33 insertions(+), 40 deletions(-) diff --git a/celery-async-tasks/source_code_final/django_celery/settings.py b/celery-async-tasks/source_code_final/django_celery/settings.py index c4029afe6c..707823f909 100644 --- a/celery-async-tasks/source_code_final/django_celery/settings.py +++ b/celery-async-tasks/source_code_final/django_celery/settings.py @@ -131,3 +131,4 @@ # Celery settings CELERY_BROKER_URL = "redis://localhost:6379" CELERY_RESULT_BACKEND = "redis://localhost:6379" +CELERY_BROKER_CONNECTION_RETRY_ON_STARTUP = True diff --git a/celery-async-tasks/source_code_final/requirements.txt b/celery-async-tasks/source_code_final/requirements.txt index bb1f70b615..55274c7b99 100644 --- a/celery-async-tasks/source_code_final/requirements.txt +++ b/celery-async-tasks/source_code_final/requirements.txt @@ -1,22 +1,18 @@ -amqp==5.1.1 -asgiref==3.5.2 -async-timeout==4.0.2 -billiard==3.6.4.0 -celery==5.2.7 -click==8.1.3 -click-didyoumean==0.3.0 +amqp==5.3.1 +asgiref==3.8.1 +billiard==4.2.1 +celery==5.4.0 +click==8.1.7 +click-didyoumean==0.3.1 click-plugins==1.1.1 -click-repl==0.2.0 -Deprecated==1.2.13 -Django==4.0.6 -kombu==5.2.4 -packaging==21.3 -prompt-toolkit==3.0.30 -pyparsing==3.0.9 -pytz==2022.1 -redis==4.3.4 +click-repl==0.3.0 +Django==5.1.3 +kombu==5.4.2 +prompt_toolkit==3.0.48 +python-dateutil==2.9.0.post0 +redis==5.2.0 six==1.16.0 -sqlparse==0.4.2 -vine==5.0.0 -wcwidth==0.2.5 -wrapt==1.14.1 +sqlparse==0.5.2 +tzdata==2024.2 +vine==5.1.0 +wcwidth==0.2.13 diff --git a/celery-async-tasks/source_code_initial/requirements.txt b/celery-async-tasks/source_code_initial/requirements.txt index bb1f70b615..55274c7b99 100644 --- a/celery-async-tasks/source_code_initial/requirements.txt +++ b/celery-async-tasks/source_code_initial/requirements.txt @@ -1,22 +1,18 @@ -amqp==5.1.1 -asgiref==3.5.2 -async-timeout==4.0.2 -billiard==3.6.4.0 -celery==5.2.7 -click==8.1.3 -click-didyoumean==0.3.0 +amqp==5.3.1 +asgiref==3.8.1 +billiard==4.2.1 +celery==5.4.0 +click==8.1.7 +click-didyoumean==0.3.1 click-plugins==1.1.1 -click-repl==0.2.0 -Deprecated==1.2.13 -Django==4.0.6 -kombu==5.2.4 -packaging==21.3 -prompt-toolkit==3.0.30 -pyparsing==3.0.9 -pytz==2022.1 -redis==4.3.4 +click-repl==0.3.0 +Django==5.1.3 +kombu==5.4.2 +prompt_toolkit==3.0.48 +python-dateutil==2.9.0.post0 +redis==5.2.0 six==1.16.0 -sqlparse==0.4.2 -vine==5.0.0 -wcwidth==0.2.5 -wrapt==1.14.1 +sqlparse==0.5.2 +tzdata==2024.2 +vine==5.1.0 +wcwidth==0.2.13 From af9990d0a5909842eab5daea2be952c0503c5971 Mon Sep 17 00:00:00 2001 From: martin-martin Date: Thu, 28 Nov 2024 20:21:21 +0100 Subject: [PATCH 2/2] Remove default setting --- celery-async-tasks/source_code_final/django_celery/settings.py | 1 - 1 file changed, 1 deletion(-) diff --git a/celery-async-tasks/source_code_final/django_celery/settings.py b/celery-async-tasks/source_code_final/django_celery/settings.py index 707823f909..c4029afe6c 100644 --- a/celery-async-tasks/source_code_final/django_celery/settings.py +++ b/celery-async-tasks/source_code_final/django_celery/settings.py @@ -131,4 +131,3 @@ # Celery settings CELERY_BROKER_URL = "redis://localhost:6379" CELERY_RESULT_BACKEND = "redis://localhost:6379" -CELERY_BROKER_CONNECTION_RETRY_ON_STARTUP = True