]> git.donarmstrong.com Git - infobot.git/blobdiff - src/Shm.pl
*Fixup missing semicolon
[infobot.git] / src / Shm.pl
index f9b93624b1227c29581d5d3a39042afafbd6b519..cebe4dc59b2b8c9a7142c8b4a7761c4207ee5cfc 100644 (file)
@@ -48,7 +48,7 @@ sub shmRead {
     return '' if (&IsParam("noSHM"));
 
     if (shmread($key,$retval,$position,$size)) {
-       &DEBUG("shmRead($key): $retval");
+       #&DEBUG("shmRead($key): $retval");
        return $retval;
     } else {
        &ERROR("shmRead: failed: $!");
@@ -229,7 +229,7 @@ sub shmFlush {
     return if ($$ != $::bot_pid); # fork protection.
 
     if (@_) {
-       &ScheduleThis(5, "shmFlush");
+       &ScheduleThis(15, "shmFlush");
        return if ($_[0] eq "2");
     }