diff options
author | moisseev <moiseev@mezonplus.ru> | 2019-08-30 14:10:24 +0300 |
---|---|---|
committer | moisseev <moiseev@mezonplus.ru> | 2019-08-30 14:26:17 +0300 |
commit | 3c7505ebf0da2ff21973f4a63574a1aeacd4cf82 (patch) | |
tree | c688a92cac8a1e0cae116e60e08459b13d3bee83 /interface/js/app | |
parent | 35c422bdef9ed574445d20efa17f61079e826d5a (diff) | |
download | rspamd-3c7505ebf0da2ff21973f4a63574a1aeacd4cf82.tar.gz rspamd-3c7505ebf0da2ff21973f4a63574a1aeacd4cf82.zip |
[WebUI] Rename Throughput time intervals
<hourly|daily|weekly|monthly> -> <by day|by week|by month|by year>
Diffstat (limited to 'interface/js/app')
-rw-r--r-- | interface/js/app/rspamd.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/interface/js/app/rspamd.js b/interface/js/app/rspamd.js index 155a544e1..c58b3803c 100644 --- a/interface/js/app/rspamd.js +++ b/interface/js/app/rspamd.js @@ -105,8 +105,8 @@ function ($, D3pie, visibility, NProgress, stickyTabs, tab_stat, tab_graph, tab_ tab_graph.draw(ui, graphs, tables, neighbours, checked_server, selData); var autoRefresh = { - hourly: 60000, - daily: 300000 + day: 60000, + week: 300000 }; timer_id.throughput = Visibility.every(autoRefresh[selData] || 3600000, function () { tab_graph.draw(ui, graphs, tables, neighbours, checked_server, selData); |