mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
refine code, support configure to enable --memory-watch
This commit is contained in:
parent
0d6a574216
commit
0d66e92ab5
8 changed files with 22 additions and 17 deletions
|
@ -212,7 +212,7 @@ void check_macro_features()
|
|||
srs_warn("SRS %s is not stable, please use stable branch %s instead", RTMP_SIG_SRS_VERSION, VERSION_STABLE_BRANCH);
|
||||
#endif
|
||||
|
||||
#ifdef SRS_MEM_WATCH
|
||||
#ifdef SRS_AUTO_MEM_WATCH
|
||||
#warning "srs memory watcher will hurts performance. user should kill by SIGTERM or init.d script."
|
||||
srs_warn("srs memory watcher will hurts performance. user should kill by SIGTERM or init.d script.");
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue