summaryrefslogtreecommitdiff
path: root/lib/Travelynx/Command/munin.pm
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2019-04-24 08:45:56 +0200
committerDaniel Friesel <derf@finalrewind.org>2019-04-24 08:45:56 +0200
commitfd314e327d9926da00a433c8192d592334662ba5 (patch)
tree0e84ca82b396d96295cdfe42b59acbb7b2ead518 /lib/Travelynx/Command/munin.pm
parent14d2dd52eb11ccdaca648227e185cf06c2940e09 (diff)
maintenance, munin: Use journeys, not user_actions0.15
Diffstat (limited to 'lib/Travelynx/Command/munin.pm')
-rw-r--r--lib/Travelynx/Command/munin.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Travelynx/Command/munin.pm b/lib/Travelynx/Command/munin.pm
index 225a281..a7ee9b1 100644
--- a/lib/Travelynx/Command/munin.pm
+++ b/lib/Travelynx/Command/munin.pm
@@ -23,7 +23,7 @@ sub run {
my $now = DateTime->now( time_zone => 'Europe/Berlin' );
my $checkin_window_query
- = qq{select count(*) as count from user_actions where action_id = 1 and action_time > to_timestamp(?);};
+ = qq{select count(*) as count from journeys where checkin_time > to_timestamp(?);};
query_to_munin( 'reg_user_count',
$db->select( 'users', 'count(*) as count', { status => 1 } )