summaryrefslogtreecommitdiffstats
path: root/aclk
diff options
context:
space:
mode:
authorCosta Tsaousis <costa@netdata.cloud>2023-07-17 11:35:31 +0300
committerGitHub <noreply@github.com>2023-07-17 11:35:31 +0300
commitfb5286cf3053cf5b61644d27fd282a603a8cb7f4 (patch)
tree334bbca2cd18c3c03868c1221cfe4e916d6ca05f /aclk
parentbf51b6a47c40384d23110f99ca2d46c7834d4e01 (diff)
use real-time clock for http response headers (#15421)
Diffstat (limited to 'aclk')
-rw-r--r--aclk/aclk_query.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/aclk/aclk_query.c b/aclk/aclk_query.c
index e1a133dbb4..07d571be17 100644
--- a/aclk/aclk_query.c
+++ b/aclk/aclk_query.c
@@ -197,7 +197,6 @@ static int http_api_v2(struct aclk_query_thread *query_thr, aclk_query_t query)
z_buffer = NULL;
}
- w->response.data->date = w->timings.tv_ready.tv_sec;
web_client_build_http_header(w);
local_buffer = buffer_create(NETDATA_WEB_RESPONSE_INITIAL_SIZE, &netdata_buffers_statistics.buffers_aclk);
local_buffer->content_type = CT_APPLICATION_JSON;