dont reload config in manage.py commands, fixes #1619

This commit is contained in:
j 2013-07-15 12:49:05 +00:00
commit d62460e5fe
5 changed files with 9 additions and 2 deletions

View file

@ -273,7 +273,8 @@ def update_geoip(force=False):
def init():
if not settings.RELOADER_RUNNING:
load_config()
thread.start_new_thread(reloader_thread, ())
if settings.RELOAD_CONFIG:
thread.start_new_thread(reloader_thread, ())
def shutdown():
if settings.RELOADER_RUNNING: