Преглед изворни кода

SendBufferToWorker fail and close connection

walkor пре 10 година
родитељ
комит
1b0cb59b30
1 измењених фајлова са 1 додато и 0 уклоњено
  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;