Skip to content

Commit

Permalink
Decrease statuspage update intervals to 3 minutes
Browse files Browse the repository at this point in the history
  • Loading branch information
abh committed Mar 1, 2022
1 parent 80f8d24 commit 0a2227c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/statuspage/statuspage-metrics
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ warn "Getting data\n" if $verbose;
my ($data) = $dbh->selectall_arrayref(
'select unix_timestamp(ts)-unix_timestamp(ts)%60 as m, count(*)
from log_scores
where ts > date_sub(now(), interval 10 minute)
where ts > date_sub(now(), interval 15 minute)
group by m order by m'
);

Expand Down

0 comments on commit 0a2227c

Please sign in to comment.