fix BUG that made job mgr break in prod (with DEBUG not even defined, its now False in Prod)
This commit is contained in:
@@ -50,6 +50,8 @@ import json
|
|||||||
# global debug setting
|
# global debug setting
|
||||||
if 'FLASK_ENV' not in os.environ or os.environ['FLASK_ENV'] != "production":
|
if 'FLASK_ENV' not in os.environ or os.environ['FLASK_ENV'] != "production":
|
||||||
DEBUG=True
|
DEBUG=True
|
||||||
|
else:
|
||||||
|
DEBUG=False
|
||||||
|
|
||||||
# this is required to handle the duplicate processing code
|
# this is required to handle the duplicate processing code
|
||||||
sys.setrecursionlimit(50000)
|
sys.setrecursionlimit(50000)
|
||||||
|
|||||||
Reference in New Issue
Block a user