Skip to content
Snippets Groups Projects
Commit 4b61fca6 authored by Chris Pastl's avatar Chris Pastl
Browse files

refactor: remove max_retries from config

parent c31b4d1e
No related branches found
No related tags found
1 merge request!40Fix retry connect stream
......@@ -83,7 +83,6 @@ scheduler:
# overall playout, its delays and possible fallbacks
input_stream:
retry_delay: 1
max_retries: 10
buffer: 3.0
# Fade duration when selecting another mixer input (seconds)
......
......@@ -83,7 +83,6 @@ scheduler:
# overall playout, its delays and possible fallbacks
input_stream:
retry_delay: 1
max_retries: 10
buffer: 3.0
# Fade duration when selecting another mixer input (seconds)
......
......@@ -83,7 +83,6 @@ scheduler:
# overall playout, its delays and possible fallbacks
input_stream:
retry_delay: 1
max_retries: 10
buffer: 3.0
# Fade duration when selecting another mixer input (seconds)
......
......@@ -67,7 +67,7 @@ template = {
"scheduling_window_start": int,
"scheduling_window_end": int,
"preload_offset": int,
"input_stream": {"retry_delay": int, "max_retries": int, "buffer": float},
"input_stream": {"retry_delay": int, "buffer": float},
"fade_in_time": float,
"fade_out_time": float,
},
......
......@@ -91,7 +91,6 @@ class TestConfig(unittest.TestCase):
self.assertIsInstance(cfg.scheduler.preload_offset, int)
self.assertIsInstance(cfg.scheduler.input_stream.retry_delay, int)
self.assertIsInstance(cfg.scheduler.input_stream.max_retries, int)
self.assertIsInstance(cfg.scheduler.input_stream.buffer, float)
self.assertIsInstance(cfg.scheduler.fade_in_time, float)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment