forked from 0x2620/pandora
dont reload config in manage.py commands, fixes #1619
This commit is contained in:
parent
b47b8b14fb
commit
d62460e5fe
5 changed files with 9 additions and 2 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue