Purge the DB every 15 minutes instead of 5

master
Daniel Berteaud 10 years ago
parent ec17274725
commit dac6a1f3ae
  1. 4
      vroom.pl

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

Loading…
Cancel
Save