0
0
Fork 0
mirror of https://github.com/netdata/netdata.git synced 2025-04-17 11:12:42 +00:00

Remove feature flag and commented out code ()

This commit is contained in:
Stelios Fragkakis 2021-11-11 14:56:55 +02:00 committed by GitHub
parent 51869f7a06
commit 512e98a397
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 15 deletions

View file

@ -748,9 +748,7 @@ int rrd_init(char *hostname, struct rrdhost_system_info *system_info) {
fatal("Failed to initialize dbengine");
}
#endif
#ifdef ACLK_NEWARCH_DEVMODE
sql_aclk_sync_init();
#endif
rrd_unlock();
web_client_api_v1_management_init();

View file

@ -866,19 +866,6 @@ void aclk_update_retention(struct aclk_database_worker_config *wc, struct aclk_d
if (likely(!rc && first_entry_t))
start_time = MIN(start_time, first_entry_t);
// if (memory_mode == RRD_MEMORY_MODE_DBENGINE) {
// int live = ((now - last_entry_t) < (RRDSET_MINIMUM_LIVE_COUNT * update_every));
// (void) aclk_upd_dimension_event(
// wc->uuid_str,
// claim_id,
// (uuid_t *)sqlite3_column_blob(res, 0),
// (const char *)(const char *)sqlite3_column_text(res, 3),
// (const char *)(const char *)sqlite3_column_text(res, 4),
// (const char *)(const char *)sqlite3_column_text(res, 2),
// first_entry_t,
// live ? 0 : last_entry_t);
// }
}
if (update_every) {
debug(D_ACLK_SYNC, "Update %s for %u oldest time = %ld", wc->host_guid, update_every, start_time);