qingwen220 commented on issue #2222:
URL: https://github.com/apache/brpc/issues/2222#issuecomment-2544435898

   > 服务端也是通过controller获取 // Set/get timeout in milliseconds for the RPC call. 
Use // ChannelOptions.timeout_ms on unset. void set_timeout_ms(int64_t 
timeout_ms); int64_t timeout_ms() const { return _timeout_ms; } 
需要设置上FLAGS_baidu_std_protocol_deliver_timeout_ms这个flag 这是一个超时时间,是相对时间,比如500ms等。
   
   @yanglimingcn  这个是那个版本开始支持的呢,我这边本地用的版本告知 timeout_ms() 是 client-side. 
methods,服务端使用行为是未定义的。我测试验证确实server端也拿不到 client 端设置的 timeout.
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@brpc.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@brpc.apache.org
For additional commands, e-mail: dev-h...@brpc.apache.org

Reply via email to