summaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
authorCosta Tsaousis <costa@netdata.cloud>2023-04-27 09:55:07 +0300
committerGitHub <noreply@github.com>2023-04-27 09:55:07 +0300
commit8f137fc154874e4f53d4600ac59dbd540d4872de (patch)
tree69cb0d47f06375f41f4c0e8d90122f54cf0d1248 /web
parent3d8a4d82f4be2dea475006028b1e6d74a56e3688 (diff)
interrupt callback on api/v1/data (#14978)
* interrupt callback on api/v1/data * smaller tier_grouping member size
Diffstat (limited to 'web')
-rw-r--r--web/api/web_api_v1.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/web/api/web_api_v1.c b/web/api/web_api_v1.c
index 3e4100aa8c..6e23549d4a 100644
--- a/web/api/web_api_v1.c
+++ b/web/api/web_api_v1.c
@@ -713,6 +713,8 @@ static inline int web_client_api_request_v1_data(RRDHOST *host, struct web_clien
.labels = chart_labels_filter,
.query_source = QUERY_SOURCE_API_DATA,
.priority = STORAGE_PRIORITY_NORMAL,
+ .interrupt_callback = web_client_interrupt_callback,
+ .interrupt_callback_data = w,
};
qt = query_target_create(&qtr);