Skip to content

future(provider): future:server support timeout interrupt #72

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed

Conversation

tomaswu0
Copy link

服务端支持超时中断机制。

超时时间计算

  • 全链路超时场景下:计算剩余的超时时间
  • 非全链路超时场景:服务的超时时间

配置

#服务端配置  
server: 
  app: test 
  server: helloworld 
  local_ip: 127.0.0.1   
  enable_link_timeout: true   # 本次新增配置
  service:
    - name: trpc.test.helloworld.Greeter  
      enable_timeout_intrrupt: true   # 本次新增配置
      port: 8090
      impls: 
        - com.tencent.test.helloworld.service.impl.GreeterImpl 
          enable_link_timeout: true     # 本次新增配置

Copy link


Thank you for your submission, we really appreciate it. Like many open-source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution. You can sign the CLA by just posting a Pull Request Comment same as the below format.


I have read the CLA Document and I hereby sign the CLA


You can retrigger this bot by commenting recheck in this Pull Request. Posted by the CLA Assistant Lite bot.

@tomaswu0 tomaswu0 closed this Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant