commit | 46a0f8b8501901e8fca89b4f115094a1f4a363d1 | [log] [tgz] |
---|---|---|
author | ZEAL <zealli@gmail.com> | Fri Mar 17 09:07:55 2023 +0800 |
committer | GitHub <noreply@github.com> | Thu Mar 16 21:07:55 2023 -0400 |
tree | 8f2f771b2bc47c135e8959dcee70b7ab745e4620 | |
parent | 1803a71bf242b8a13474c51550118f51c420762a [diff] |
Don't init profile / meter damon threads when not active. (#295) * only init profile / meter when active Don't init profile / meter damon threads when not active, since thread is expensive in python. * only profiling when active Don't run profiling when config.agent_profile_active set to False.