【发布时间】:2012-08-15 14:42:05
【问题描述】:
我正在使用 thrift 编写 python 客户端,但我找不到任何可用的选项来设置 rpc 超时。
我的客户端代码如下:
socket = TSocket.TSocket(address, port)
transport = TTransport.TBufferedTransport(socket)
protocol = TBinaryProtocol.TBinaryProtocol(transport)
server = Client.Client(protocol)
transport.open()
【问题讨论】: