From ce35e72e44740e69e1e9e4331a55a723a52f0356 Mon Sep 17 00:00:00 2001 From: Adarnof Date: Tue, 20 Dec 2016 01:20:31 +0000 Subject: [PATCH] Correct discourse group sync task calling. --- alliance_auth/settings.py.example | 1 - services/tasks.py | 1 - 2 files changed, 2 deletions(-) diff --git a/alliance_auth/settings.py.example b/alliance_auth/settings.py.example index 86bfeec0..fa6a5aa3 100644 --- a/alliance_auth/settings.py.example +++ b/alliance_auth/settings.py.example @@ -21,7 +21,6 @@ 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__))) diff --git a/services/tasks.py b/services/tasks.py index b0e5a269..2432827e 100644 --- a/services/tasks.py +++ b/services/tasks.py @@ -489,7 +489,6 @@ def update_all_discord_nicknames(): @task(bind=True) -@only_one(key="Discourse", timeout=60*5) def update_discourse_groups(self, pk): user = User.objects.get(pk=pk) logger.debug("Updating discourse groups for user %s" % user)