未验证 提交 3e691ee4 编写于 作者: M MRXLT 提交者: GitHub

Update FAQ.md

上级 06397184
# FAQ
- Q:如何调整RPC服务的等待时间,避免超时?
A:使用set_rpc_timeout_ms设置更长的等待时间,单位为毫秒,默认时间为20秒
示例:
```
from paddle_serving_client import Client
client = Client()
client.load_client_config(sys.argv[1])
client.set_rpc_timeout_ms(100000)
client.connect(["127.0.0.1:9393"])
```
A:使用set_rpc_timeout_ms设置更长的等待时间,单位为毫秒,默认时间为20秒。
示例:
```
from paddle_serving_client import Client
client = Client()
client.load_client_config(sys.argv[1])
client.set_rpc_timeout_ms(100000)
client.connect(["127.0.0.1:9393"])
```
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册