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

Support config in_docker to fix the detect fail. (#2824). v4.0.216

This commit is contained in:
winlin 2022-01-03 16:55:52 +08:00
parent fd313133b1
commit 7808bd7ca8
6 changed files with 29 additions and 2 deletions

View file

@ -77,6 +77,10 @@ asprocess off;
# default: on
empty_ip_ok on;
# Whether in docker. When SRS starting, it will detect the docker, however
# it might detect failed, then read this config.
# Default: off
in_docker 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.