From: djmcgrath Date: Tue, 30 Oct 2007 21:03:56 +0000 (+0000) Subject: * Correct shmFlush to use minutes, not seconds X-Git-Url: https://git.donarmstrong.com/?p=infobot.git;a=commitdiff_plain;h=2729f6ef7f35b131eedb699ba7becbb824bce63f * Correct shmFlush to use minutes, not seconds git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk@1601 c11ca15a-4712-0410-83d8-924469b57eb5 --- diff --git a/src/Shm.pl b/src/Shm.pl index 63272a6..54c1d4c 100644 --- a/src/Shm.pl +++ b/src/Shm.pl @@ -241,7 +241,7 @@ sub shmFlush { return if ($$ != $::bot_pid); # fork protection. if (@_) { - &ScheduleThis(15, 'shmFlush'); + &ScheduleThis(15*60, 'shmFlush'); # 15 minutes return if ($_[0] eq '2'); }