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
1 changed files with 2 additions and 2 deletions

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;
});