summaryrefslogtreecommitdiffstats
path: root/aclk/aclk_query.c
diff options
context:
space:
mode:
authorCosta Tsaousis <costa@netdata.cloud>2023-08-21 11:20:18 +0300
committerGitHub <noreply@github.com>2023-08-21 11:20:18 +0300
commit41bd902426bd6e5241eb8a09f50fc22efa7f9c51 (patch)
tree2af34d90d820f1b565273c235b9e57e986607da9 /aclk/aclk_query.c
parentb090c9f80b64005003294d4b8390bd9b6cf0aecf (diff)
Facets histograms (#15846)
Diffstat (limited to 'aclk/aclk_query.c')
-rw-r--r--aclk/aclk_query.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/aclk/aclk_query.c b/aclk/aclk_query.c
index 07d571be17..abacbca83a 100644
--- a/aclk/aclk_query.c
+++ b/aclk/aclk_query.c
@@ -112,7 +112,7 @@ static int http_api_v2(struct aclk_query_thread *query_thr, aclk_query_t query)
if(web_client_timeout_checkpoint_and_check(w, &t)) {
netdata_log_access("QUERY CANCELED: QUEUE TIME EXCEEDED %llu ms (LIMIT %d ms)", t / USEC_PER_MS, query->timeout);
retval = 1;
- w->response.code = HTTP_RESP_BACKEND_FETCH_FAILED;
+ w->response.code = HTTP_RESP_SERVICE_UNAVAILABLE;
aclk_http_msg_v2_err(query_thr->client, query->callback_topic, query->msg_id, w->response.code, CLOUD_EC_SND_TIMEOUT, CLOUD_EMSG_SND_TIMEOUT, NULL, 0);
goto cleanup;
}