]> git.donarmstrong.com Git - infobot.git/commitdiff
* Correct shmFlush to use minutes, not seconds
authordjmcgrath <djmcgrath@c11ca15a-4712-0410-83d8-924469b57eb5>
Tue, 30 Oct 2007 21:03:56 +0000 (21:03 +0000)
committerdjmcgrath <djmcgrath@c11ca15a-4712-0410-83d8-924469b57eb5>
Tue, 30 Oct 2007 21:03:56 +0000 (21:03 +0000)
git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk@1601 c11ca15a-4712-0410-83d8-924469b57eb5

src/Shm.pl

index 63272a6e53b4b9b23f13541ac4575a6c3dba32e0..54c1d4cdc80e1ddc2752e7f5df7fd8e7caea5630 100644 (file)
@@ -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');
     }