mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
For #1579, support start/final wait for gracefully quit. 3.0.121
This commit is contained in:
parent
58b40478b6
commit
dc0f804452
6 changed files with 28 additions and 2 deletions
|
@ -73,6 +73,12 @@ work_dir ./;
|
|||
# default: off
|
||||
asprocess off;
|
||||
|
||||
# For gracefully quit, wait for a while then close listeners,
|
||||
# because K8S notify SRS with SIGQUIT and update Service simultaneously,
|
||||
# maybe there is some new connections incoming before Service updated.
|
||||
# @see https://github.com/ossrs/srs/issues/1595#issuecomment-587516567
|
||||
# default: 2300
|
||||
grace_start_wait 2300;
|
||||
# For gracefully quit, final wait for cleanup in milliseconds.
|
||||
# @see https://github.com/ossrs/srs/issues/1579#issuecomment-587414898
|
||||
# default: 3200
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue