mirror of
https://github.com/dani/vroom.git
synced 2024-06-26 17:43:29 +02:00
Purge the DB every 15 minutes instead of 5
This commit is contained in:
parent
ec17274725
commit
dac6a1f3ae
4
vroom.pl
4
vroom.pl
|
@ -1198,8 +1198,8 @@ Mojo::IOLoop->recurring( 3 => sub {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
# Purge every 5 minutes
|
# Purge the database every 15 minutes
|
||||||
Mojo::IOLoop->recurring( 300 => sub {
|
Mojo::IOLoop->recurring( 900 => sub {
|
||||||
app->purge_rooms;
|
app->purge_rooms;
|
||||||
app->purge_invitations;
|
app->purge_invitations;
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue
Block a user