mirror of
https://github.com/ossrs/srs.git
synced 2025-02-12 11:21:52 +00:00
add reload config comments for config.
This commit is contained in:
parent
0813104c6e
commit
6c3b5943e9
1 changed files with 4 additions and 0 deletions
|
@ -85,6 +85,10 @@ public:
|
|||
|
||||
/**
|
||||
* the config parser.
|
||||
* for the config supports reload, so never keep the reference cross st-thread,
|
||||
* that is, never save the SrsConfDirective* get by any api of config,
|
||||
* for it maybe free in the reload st-thread cycle.
|
||||
* you can keep it before st-thread switch, or simply never keep it.
|
||||
*/
|
||||
class SrsConfig
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue