From 8582584fd502ab6a79f38dfa647e69932d9030c6 Mon Sep 17 00:00:00 2001 From: Adarnof Date: Mon, 19 Dec 2016 17:33:11 -0500 Subject: [PATCH] prevent redis connectionerror for async tasks --- alliance_auth/settings.py.example | 1 + 1 file changed, 1 insertion(+) diff --git a/alliance_auth/settings.py.example b/alliance_auth/settings.py.example index fa6a5aa3..86bfeec0 100644 --- a/alliance_auth/settings.py.example +++ b/alliance_auth/settings.py.example @@ -21,6 +21,7 @@ djcelery.setup_loader() # Celery configuration BROKER_URL = 'redis://localhost:6379/0' CELERYBEAT_SCHEDULER = "djcelery.schedulers.DatabaseScheduler" +BROKER_POOL_LIMIT = 0 # Build paths inside the project like this: os.path.join(BASE_DIR, ...) BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))