Commits

zhihu committed a8ea5f0

update timeout to 1s

Comments (0)

Files changed (1)

starry/transport.py

 class TcpTransport(Transport):
 
     def __init__(self, client_id, address, service_name,\
-            timeout=3, protocol=protobuf):
+            timeout=1, protocol=protobuf):
         super(TcpTransport, self).__init__(protocol=protocol)
         self.client_id = client_id
         self.address = address