Skip to content

Commit fe8630b

Browse files
committed
opt scheduler script timeout text
1 parent 306faac commit fe8630b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

scheduler/app/faas_scheduler/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
# defaults...
2828
LOG_DIR = "/opt/scheduler/logs/"
2929
SUB_PROCESS_TIMEOUT = int(os.environ.get("PYTHON_PROCESS_TIMEOUT", 60 * 15))
30-
TIMEOUT_OUTPUT = "Script running for too long time!"
30+
TIMEOUT_OUTPUT = "The script's running time exceeded the limit and the execution was aborted."
3131
VERSION = os.getenv("VERSION")
3232

3333

scheduler/app/flask_server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
# defaults...
3434
SCRIPT_WORKERS = int(os.environ.get("PYTHON_SCHEDULER_SCRIPT_WORKERS", 5))
3535
SUB_PROCESS_TIMEOUT = int(os.environ.get("PYTHON_PROCESS_TIMEOUT", 60 * 15))
36-
TIMEOUT_OUTPUT = "Script running for too long time!"
36+
TIMEOUT_OUTPUT = "The script's running time exceeded the limit and the execution was aborted."
3737

3838
app = Flask(__name__)
3939

0 commit comments

Comments
 (0)