File tree Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 2727# defaults...
2828LOG_DIR = "/opt/scheduler/logs/"
2929SUB_PROCESS_TIMEOUT = int (os .environ .get ("PYTHON_PROCESS_TIMEOUT" , 60 * 15 ))
30- TIMEOUT_OUTPUT = "Script running for too long time!"
30+ TIMEOUT_OUTPUT = (
31+ "The script's running time exceeded the limit and the execution was aborted."
32+ )
3133VERSION = os .getenv ("VERSION" )
3234
3335
Original file line number Diff line number Diff line change 3333# defaults...
3434SCRIPT_WORKERS = int (os .environ .get ("PYTHON_SCHEDULER_SCRIPT_WORKERS" , 5 ))
3535SUB_PROCESS_TIMEOUT = int (os .environ .get ("PYTHON_PROCESS_TIMEOUT" , 60 * 15 ))
36- TIMEOUT_OUTPUT = "Script running for too long time!"
36+ TIMEOUT_OUTPUT = (
37+ "The script's running time exceeded the limit and the execution was aborted."
38+ )
3739
3840app = Flask (__name__ )
3941
Original file line number Diff line number Diff line change @@ -370,7 +370,7 @@ def run_python(data):
370370 send_to_scheduler (
371371 False ,
372372 - 1 ,
373- "Script running for too long time! " ,
373+ "The script's running time exceeded the limit and the execution was aborted. " ,
374374 DEFAULT_SUB_PROCESS_TIMEOUT ,
375375 data ,
376376 )
You can’t perform that action at this time.
0 commit comments