From 818540de67cd571ac20ecc097dccc731c7585832 Mon Sep 17 00:00:00 2001 From: deflax Date: Mon, 15 Jan 2024 02:02:58 +0200 Subject: [PATCH] increase enable_delay --- src/scheduler/app.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/scheduler/app.py b/src/scheduler/app.py index 970d1e8..4836a17 100644 --- a/src/scheduler/app.py +++ b/src/scheduler/app.py @@ -26,7 +26,7 @@ api_hostname = os.environ.get('CORE_API_HOSTNAME', 'stream.example.com') api_username = os.environ.get('CORE_API_AUTH_USERNAME', 'admin') api_password = os.environ.get('CORE_API_AUTH_PASSWORD', 'pass') rec_path = "/recordings" -enable_delay = 12 +enable_delay = 24 # Init database = {} @@ -65,7 +65,6 @@ def process_running_channel(database, scheduler, stream_id, stream_name, stream_ # Check if the stream_hls_url returns 200 req_counter = 0 while True: - # Wait 6 seconds initially time.sleep(6) req_counter += 1 if requests.get(stream_hls_url).status_code == 200: