Explorar el Código

SendBufferToWorker fail and close connection

walkor hace 10 años
padre
commit
1b0cb59b30
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      GatewayWorker/Gateway.php

+ 1 - 0
GatewayWorker/Gateway.php

@@ -225,6 +225,7 @@ class Gateway extends Worker
         {
             $msg = "SendBufferToWorker fail. The connections between Gateway and BusinessWorker are not ready";
             $this->log($msg);
+            $connection->close();
             return false;
         }
         return true;