Explorar o código

SendBufferToWorker fail and close connection

walkor %!s(int64=10) %!d(string=hai) anos
pai
achega
1b0cb59b30
Modificáronse 1 ficheiros con 1 adicións e 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;