]> git.donarmstrong.com Git - infobot.git/blobdiff - src/Shm.pl
* Fixed a bug that caused seen stats flush to crash related to sqlite not having...
[infobot.git] / src / Shm.pl
index 63272a6e53b4b9b23f13541ac4575a6c3dba32e0..0484ff2e2c34e2f2a2021443bf4d2a6e8e3f714e 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');
     }
 
@@ -288,3 +288,5 @@ sub shmFlush {
 }
 
 1;
+
+# vim:ts=4:sw=4:expandtab:tw=80