1
0
mirror of https://github.com/dani/vroom.git synced 2024-06-18 04:09:14 +02:00

Purge the DB every 15 minutes instead of 5

This commit is contained in:
Daniel Berteaud 2015-06-26 11:16:37 +02:00
parent ec17274725
commit dac6a1f3ae

View File

@ -1198,8 +1198,8 @@ Mojo::IOLoop->recurring( 3 => sub {
}
});
# Purge every 5 minutes
Mojo::IOLoop->recurring( 300 => sub {
# Purge the database every 15 minutes
Mojo::IOLoop->recurring( 900 => sub {
app->purge_rooms;
app->purge_invitations;
});