Disable capturing SQL queries in memory when running celeryd in development.

This commit is contained in:
Chris Church
2014-02-04 23:04:58 -05:00
parent ce56f1c17d
commit e94e1978be
4 changed files with 11 additions and 0 deletions

View File

@@ -13,6 +13,10 @@ from split_settings.tools import optional, include
# Load default settings.
from defaults import *
# Disable capturing all SQL queries when running celeryd in development.
if 'celeryd' in sys.argv:
SQL_DEBUG = False
# If any local_*.py files are present in awx/settings/, use them to override
# default settings for development. If not present, we can still run using
# only the defaults.