mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
RTC: Support circuit breaker. 4.0.103
This commit is contained in:
parent
46c980c70a
commit
92fc0af8f4
13 changed files with 434 additions and 9 deletions
|
@ -487,6 +487,15 @@ public:
|
|||
virtual bool auto_reload_for_docker();
|
||||
// For tcmalloc, get the release rate.
|
||||
virtual double tcmalloc_release_rate();
|
||||
// Thread pool section.
|
||||
public:
|
||||
virtual bool get_circuit_breaker();
|
||||
virtual int get_high_threshold();
|
||||
virtual int get_high_pulse();
|
||||
virtual int get_critical_threshold();
|
||||
virtual int get_critical_pulse();
|
||||
virtual int get_dying_threshold();
|
||||
virtual int get_dying_pulse();
|
||||
// stream_caster section
|
||||
public:
|
||||
// Get all stream_caster in config file.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue