fix BUG that made job mgr break in prod (with DEBUG not even defined, its now False in Prod)

This commit is contained in:
2022-01-19 01:20:40 +11:00
parent 2af93312e1
commit 2b923f0b60

View File

@@ -50,6 +50,8 @@ import json
# global debug setting
if 'FLASK_ENV' not in os.environ or os.environ['FLASK_ENV'] != "production":
DEBUG=True
else:
DEBUG=False
# this is required to handle the duplicate processing code
sys.setrecursionlimit(50000)