Browse Source

抑制notice错误

walkor 11 năm trước cách đây
mục cha
commit
6017284b24
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      workerman/Core/SocketWorker.php

+ 1 - 1
workerman/Core/SocketWorker.php

@@ -738,7 +738,7 @@ abstract class SocketWorker extends AbstractWorker
             return;
         }
         $error_code = 0;
-        msg_send(Master::getQueueId(), self::MSG_TYPE_STATUS, array_merge($this->statusInfo, array('memory'=>memory_get_usage(true), 'pid'=>posix_getpid(), 'worker_name' => $this->workerName)), true, false, $error_code);
+        @msg_send(Master::getQueueId(), self::MSG_TYPE_STATUS, array_merge($this->statusInfo, array('memory'=>memory_get_usage(true), 'pid'=>posix_getpid(), 'worker_name' => $this->workerName)), true, false, $error_code);
     }
     
     /**