From 698fb9e56edaf78d051fb1b2b12fade7cfb52365 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Canna=C3=B2?= Date: Thu, 30 Nov 2017 23:42:09 +0100 Subject: [PATCH] Support for more time range in WebUI --- lib/ProxySQL_HTTP_Server.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/lib/ProxySQL_HTTP_Server.cpp b/lib/ProxySQL_HTTP_Server.cpp index 0b7a5424d..4936dc040 100644 --- a/lib/ProxySQL_HTTP_Server.cpp +++ b/lib/ProxySQL_HTTP_Server.cpp @@ -168,7 +168,7 @@ static char *generate_home() { } } #else - html.append("ClickHouse = Not compiled
\n"); + html.append("ClickHouse = support not compiled
\n"); #endif if (GloMTH) { char *en = GloMTH->get_variable((char *)"interfaces"); @@ -425,6 +425,11 @@ int ProxySQL_HTTP_Server::handler(void *cls, struct MHD_Connection *connection, case 3600: case 7200: case 28800: + case 86400: + case 259200: + case 604800: + case 2592000: + case 7776000: interval_i = tmp_; break; default: