]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
We don't need _that_ noisy queue managers...
authorMikael Nordfeldth <mmn@hethane.se>
Sat, 5 Oct 2013 11:12:16 +0000 (13:12 +0200)
committerMikael Nordfeldth <mmn@hethane.se>
Sat, 5 Oct 2013 11:12:16 +0000 (13:12 +0200)
lib/dbqueuemanager.php
lib/iomaster.php

index 51553b899906b9ae64e58ea9ceaa5f70bc9185f6..452e24e90887f62df0e1c8e1b17ad8ad2389cdd1 100644 (file)
@@ -71,10 +71,10 @@ class DBQueueManager extends QueueManager
      */
     public function poll()
     {
-        $this->_log(LOG_DEBUG, 'Checking for notices...');
+        //$this->_log(LOG_DEBUG, 'Checking for notices...');
         $qi = Queue_item::top($this->activeQueues());
         if (empty($qi)) {
-            $this->_log(LOG_DEBUG, 'No notices waiting; idling.');
+            //$this->_log(LOG_DEBUG, 'No notices waiting; idling.');
             return false;
         }
 
index 7cfb2c9a0ff18c59039cfdae634c728ec9fc8282..7072761f2d2a03be6f34e5a66aae6eb445826044 100644 (file)
@@ -132,7 +132,7 @@ abstract class IoMaster
                 $write = array();
                 $except = array();
                 $this->logState('listening');
-                common_log(LOG_DEBUG, "Waiting up to $timeout seconds for socket data...");
+                //common_debug("Waiting up to $timeout seconds for socket data...");
                 $ready = stream_select($read, $write, $except, $timeout, 0);
 
                 if ($ready === false) {