1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

For #1579, support force gracefully quit. 3.0.120

This commit is contained in:
winlin 2020-02-18 22:15:12 +08:00
parent 3c597545b1
commit 58b40478b6
6 changed files with 33 additions and 4 deletions

View file

@ -73,9 +73,16 @@ work_dir ./;
# default: off
asprocess off;
# for gracefully quit, final wait for cleanup in milliseconds.
# For gracefully quit, final wait for cleanup in milliseconds.
# @see https://github.com/ossrs/srs/issues/1579#issuecomment-587414898
# default: 3200
grace_final_wait 3200;
# Whether force gracefully quit, never fast quit.
# By default, SIGTERM which means fast quit, is sent by K8S, so we need to
# force SRS to treat SIGTERM as gracefully quit for gray release or canary.
# @see https://github.com/ossrs/srs/issues/1579#issuecomment-587475077
# default: off
force_grace_quit off;
#############################################################################################
# heartbeat/stats sections