From 2b923f0b60af92b8718cac85af09797b6e3c709d Mon Sep 17 00:00:00 2001 From: Damien De Paoli Date: Wed, 19 Jan 2022 01:20:40 +1100 Subject: [PATCH] fix BUG that made job mgr break in prod (with DEBUG not even defined, its now False in Prod) --- pa_job_manager.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pa_job_manager.py b/pa_job_manager.py index 1b1670c..20f2e48 100644 --- a/pa_job_manager.py +++ b/pa_job_manager.py @@ -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)