summaryrefslogtreecommitdiffstats
path: root/web/api/web_api_v1.c
diff options
context:
space:
mode:
authorStelios Fragkakis <52996999+stelfrag@users.noreply.github.com>2020-03-26 18:02:21 +0200
committerGitHub <noreply@github.com>2020-03-26 18:02:21 +0200
commit78c3f35af87b57a2988f3878302284a9de37977e (patch)
tree7977c6881b2157d233dc1192620d3049854a6885 /web/api/web_api_v1.c
parent87b39f90cd51e22c59adf8c9cde4534cb6b2dca4 (diff)
Improved ACLK (#8498)
Improved the stability of the ACLK
Diffstat (limited to 'web/api/web_api_v1.c')
-rw-r--r--web/api/web_api_v1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/api/web_api_v1.c b/web/api/web_api_v1.c
index 478601b68a..c15197fb63 100644
--- a/web/api/web_api_v1.c
+++ b/web/api/web_api_v1.c
@@ -489,7 +489,7 @@ inline int web_client_api_request_v1_data(RRDHOST *host, struct web_client *w, c
st->last_accessed_time = now_realtime_sec();
long long before = (before_str && *before_str)?str2l(before_str):0;
- long long after = (after_str && *after_str) ?str2l(after_str):0;
+ long long after = (after_str && *after_str) ?str2l(after_str):-600;
int points = (points_str && *points_str)?str2i(points_str):0;
long group_time = (group_time_str && *group_time_str)?str2l(group_time_str):0;