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

STAT: Support config server_id and generate one if empty. v4.0.257

This commit is contained in:
winlin 2022-08-24 15:06:43 +08:00
parent 8e6d207e56
commit 9923c749d4
9 changed files with 158 additions and 33 deletions

View file

@ -1,5 +1,10 @@
# all config for srs
# The id of server, for stat and api identification.
# Note that SRS will generate a random id if not configured.
# Overwrite by env SRS_SERVER_ID
server_id srs-ie193id;
#############################################################################################
# RTMP sections
#############################################################################################
@ -121,6 +126,12 @@ tcmalloc_release_rate 0.8;
# Default: on
query_latest_version on;
# First wait when qlv(query latest version), in seconds.
# Only available when qlv is enabled.
# Overwrite by env SRS_FIRST_WAIT_FOR_QLV
# Default: 300
first_wait_for_qlv 300;
# For system circuit breaker.
circuit_breaker {
# Whether enable the circuit breaker.