Use celery and validate add-ons by default

This commit is contained in:
Mark Striemer 2015-10-20 09:41:52 -05:00
Родитель 623337e61e
Коммит 2bd5f6dd43
1 изменённых файлов: 2 добавлений и 6 удалений

Просмотреть файл

@ -43,8 +43,7 @@ HAS_SYSLOG = False # syslog is used if HAS_SYSLOG and NOT DEBUG.
SESSION_COOKIE_SECURE = False SESSION_COOKIE_SECURE = False
SESSION_COOKIE_DOMAIN = None SESSION_COOKIE_DOMAIN = None
# Disables custom routing in settings.py so that tasks actually run. CELERY_ALWAYS_EAGER = False
CELERY_ALWAYS_EAGER = True
CELERY_ROUTES = {} CELERY_ROUTES = {}
# If you want to allow self-reviews for add-ons/apps, then enable this. # If you want to allow self-reviews for add-ons/apps, then enable this.
@ -68,10 +67,7 @@ SITE_URL = 'http://localhost:8000'
SERVICES_DOMAIN = 'localhost:8000' SERVICES_DOMAIN = 'localhost:8000'
SERVICES_URL = 'http://%s' % SERVICES_DOMAIN SERVICES_URL = 'http://%s' % SERVICES_DOMAIN
# Turn off validation by default on development instances, until we have an VALIDATE_ADDONS = True
# easy way to install a working copy of Spidermonkey. Real Soon Now(R).
# No, really, though, soon.
VALIDATE_ADDONS = False
ADDON_COLLECTOR_ID = 1 ADDON_COLLECTOR_ID = 1