mirror of
https://github.com/derf/travelynx
synced 2024-12-12 05:52:33 +00:00
Migrate munin command
This commit is contained in:
parent
a3688f64d5
commit
edf4642933
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ sub run {
|
||||||
|
|
||||||
my $checkin_window_query
|
my $checkin_window_query
|
||||||
= $dbh->prepare(
|
= $dbh->prepare(
|
||||||
qq{select count(*) from user_actions where action_id = 1 and action_time > ?;}
|
qq{select count(*) from user_actions where action_id = 1 and action_time > to_timestamp(?);}
|
||||||
);
|
);
|
||||||
|
|
||||||
query_to_munin( 'reg_user_count',
|
query_to_munin( 'reg_user_count',
|
||||||
|
|
Loading…
Reference in a new issue