Browse Source

This celery setting could result in unexpected behaviour

One would expect AsyncResult instead of EagerResult
Peter Justin 7 years ago
parent
commit
d4138769b2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      flaskbb/configs/default.py

+ 1 - 1
flaskbb/configs/default.py

@@ -265,7 +265,7 @@ class DefaultConfig(object):
     # Celery
     CELERY_BROKER_URL = 'redis://localhost:6379'
     CELERY_RESULT_BACKEND = 'redis://localhost:6379'
-    if not REDIS_ENABLED: CELERY_ALWAYS_EAGER = True
+
 
     # FlaskBB Settings
     # ------------------------------ #