Modify wait timeout in stream (#42794)
* Set wait timeout to 40 * Use dynamic wait_timeout * Catch error in container open * Get restart times from const.py * Fix test_stream_keepalive
This commit is contained in:
parent
f4f3192a6a
commit
66dccd86bd
3 changed files with 22 additions and 4 deletions
|
@ -23,3 +23,6 @@ MAX_TIMESTAMP_GAP = 10000 # seconds - anything from 10 to 50000 is probably rea
|
|||
|
||||
MAX_MISSING_DTS = 6 # Number of packets missing DTS to allow
|
||||
STREAM_TIMEOUT = 30 # Timeout for reading stream
|
||||
|
||||
STREAM_RESTART_INCREMENT = 10 # Increase wait_timeout by this amount each retry
|
||||
STREAM_RESTART_RESET_TIME = 300 # Reset wait_timeout after this many seconds
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue