1
0
Fork 0
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:
winlin 2020-02-18 23:37:11 +08:00
parent 58b40478b6
commit dc0f804452
6 changed files with 28 additions and 2 deletions

View file

@ -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