mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
SquashSRS4: Support circuit breaker
This commit is contained in:
parent
fd6c653d3c
commit
276bd2223e
16 changed files with 458 additions and 12 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