提交 6ad85fef 编写于 作者: M MRXLT

add FAQ

上级 65f19936
......@@ -176,7 +176,7 @@ Here, `client.predict` function has two arguments. `feed` is a `python dict` wit
- [GPU Benchmarks(Chinese)](doc/GPU_BENCHMARKING.md)
### FAQ
- [FAQ(Chinese)](doc/deprecated/FAQ.md)
- [FAQ(Chinese)](doc/FAQ.md)
### Design
......
......@@ -181,7 +181,7 @@ print(fetch_map)
- [GPU版Benchmarks](doc/GPU_BENCHMARKING.md)
### FAQ
- [常见问答](doc/deprecated/FAQ.md)
- [常见问答](doc/FAQ.md)
### 设计文档
- [Paddle Serving设计文档](doc/DESIGN_DOC_CN.md)
......
# 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"])
```
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册