chendeben 8 tahun lalu
induk
melakukan
73b21236d0
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      App/Script/Controller/Server.php

+ 1 - 1
App/Script/Controller/Server.php

@@ -111,7 +111,7 @@ class Server extends Controller
         socket_set_nonblock($sock);
         socket_set_nonblock($sock);
         socket_connect($sock, $ip, $port);
         socket_connect($sock, $ip, $port);
         socket_set_block($sock);
         socket_set_block($sock);
-        $status = socket_select($r = array($sock), $w = array($sock), $f = array($sock), 3);
+        $status = socket_select($r = array($sock), $w = array($sock), $f = array($sock), 10);
         return $status;
         return $status;
     }
     }
 }
 }