Sets the timeout in secs after which a request has to complete. The
RPC is completely aborted if it does not complete by then. Setting
the timeout to 0 means that it never timeouts and can be used to
implement callback type RPCs.
Any connection already in the pool will be updated with the new
timeout. Connections added to the pool after set_timeout has be
called receive the pool timeout only if no timeout has been set
for the connection itself.
@param pool a pointer to a evrpc_pool object
@param timeout_in_secs the number of seconds after which a request should
timeout and a failure be returned to the callback.
Sets the timeout in secs after which a request has to complete. The RPC is completely aborted if it does not complete by then. Setting the timeout to 0 means that it never timeouts and can be used to implement callback type RPCs.
Any connection already in the pool will be updated with the new timeout. Connections added to the pool after set_timeout has be called receive the pool timeout only if no timeout has been set for the connection itself.
@param pool a pointer to a evrpc_pool object @param timeout_in_secs the number of seconds after which a request should timeout and a failure be returned to the callback.