diff options
author | Emmanuel Vasilakis <mrzammler@mm.st> | 2022-03-11 10:49:21 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-11 10:49:21 +0200 |
commit | 4566c0835e99d1b00542ddbc1600450eb61a6a70 (patch) | |
tree | e3fed3b41fdcc53f59b2248ac08d5c50da02aeab /health/health.c | |
parent | d752b3e8b74ecf9f384b3e72e1284826d4ceb72a (diff) |
Only store alert hashes once per health config iteration (#12292)
* only store alert hashes when iterated from localhost
* store hashes on start and health reload, at least for one pass of a host
Diffstat (limited to 'health/health.c')
-rw-r--r-- | health/health.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/health/health.c b/health/health.c index e8c41ec294..d95bcee121 100644 --- a/health/health.c +++ b/health/health.c @@ -223,6 +223,8 @@ void health_reload(void) { if (netdata_cloud_setting) aclk_single_update_disable(); #endif + sql_refresh_hashes(); + rrd_rdlock(); RRDHOST *host; |