msgpack-rpc/msgpack-rpc-python

msgpackrpc.error.TimeoutError: Request timed out

sasmaster opened this issue · 1 comments

Hi. How can I extend the default timeout? In my app the rpc call invokes some process that performs a job that takes several seconds.How can I modify the timeout time so that this errors won't throw?

Thanks.

wosiu commented

client = msgpackrpc.Client(..., timeout=x), where x is number of seconds you wish. Default is 10.