From 6c28ebfc873d6fda97629c6debe2803dcedef0c0 Mon Sep 17 00:00:00 2001 From: andryyy Date: Mon, 27 Apr 2020 20:48:32 +0200 Subject: [PATCH] [Web] Async Rspamd graph loading to prevent races (todo: changeme) --- data/web/js/site/debug.js | 1 + 1 file changed, 1 insertion(+) diff --git a/data/web/js/site/debug.js b/data/web/js/site/debug.js index 1ae35abe..df94e2f8 100644 --- a/data/web/js/site/debug.js +++ b/data/web/js/site/debug.js @@ -404,6 +404,7 @@ jQuery(function($){ function rspamd_pie_graph() { $.ajax({ url: '/api/v1/get/rspamd/actions', + async: false, success: function(data){ var total = 0;