diff options
author | Emmanuel Vasilakis <mrzammler@mm.st> | 2023-01-18 10:42:30 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-18 10:42:30 +0200 |
commit | 3d5f9e64a012b8d0f66ccf483e0e0e6eb3186787 (patch) | |
tree | a564b1d7a15427c601d7ead9a410a825e6007894 /health/health.h | |
parent | b9cafae62c973a651dbf1bb7448fc42e2eb61527 (diff) |
Revert health to run in a single thread (#14244)
* revert health to single thread
* remove getting now
* use a health struct
* remove commented code
* cleanup health log from metdata
* dont check for METADATA_UPDATE
Diffstat (limited to 'health/health.h')
-rw-r--r-- | health/health.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/health/health.h b/health/health.h index c8e09ee132..50c3e34528 100644 --- a/health/health.h +++ b/health/health.h @@ -49,9 +49,6 @@ int health_alarm_log_open(RRDHOST *host); void health_alarm_log_save(RRDHOST *host, ALARM_ENTRY *ae); void health_alarm_log_load(RRDHOST *host); -void health_thread_spawn(RRDHOST *host); -void health_thread_stop(RRDHOST *host); - ALARM_ENTRY* health_create_alarm_entry( RRDHOST *host, uint32_t alarm_id, @@ -80,10 +77,6 @@ ALARM_ENTRY* health_create_alarm_entry( void health_alarm_log_add_entry(RRDHOST *host, ALARM_ENTRY *ae); -struct health_state { - RRDHOST *host; -}; - void health_readdir(RRDHOST *host, const char *user_path, const char *stock_path, const char *subpath); char *health_user_config_dir(void); char *health_stock_config_dir(void); |