Code Monkey home page Code Monkey logo

Comments (5)

Barenboim avatar Barenboim commented on June 9, 2024

我们全局有个response_timeout,默认是10秒。也就是说,对于一个通讯目标,10秒内没有收到(或发出)一块数据,就是超时了。这个在global settings里的endpoint params,和connect_timeout并列的。

理论上,对于这种watch类请求,是可以设置watch timeout的,但这个需要自己实现一个虚函数,而redis client task没有实现。可以考虑一下开放这个接口。

from workflow.

Barenboim avatar Barenboim commented on June 9, 2024

#1434
可以看一下这个PR。加上了set_watch_timeout接口。当设置了这个值,client接收首个包的超时会使用这个watch timeout,而不是全局的response timeout。

from workflow.

youfeiyou avatar youfeiyou commented on June 9, 2024

#1434 可以看一下这个PR。加上了set_watch_timeout接口。当设置了这个值,client接收首个包的超时会使用这个watch timeout,而不是全局的response timeout。

好的,感谢

from workflow.

Barenboim avatar Barenboim commented on June 9, 2024

麻烦试一下这个功能,如果可用了同步一下。

from workflow.

youfeiyou avatar youfeiyou commented on June 9, 2024

麻烦试一下这个功能,如果可用了同步一下。

可用的

from workflow.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.