From dac6a1f3aec747349afd7108df334f6ac7b9328f Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Fri, 26 Jun 2015 11:16:37 +0200 Subject: [PATCH] Purge the DB every 15 minutes instead of 5 --- vroom.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vroom.pl b/vroom.pl index 7448645..a242d20 100755 --- a/vroom.pl +++ b/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; });