Git Product home page Git Product logo

Comments (3)

zhengshuxin avatar zhengshuxin commented on September 23, 2024

这应该是历史原因,最早Acl的IO读写超时的单位为秒,后来因为项目需要将IO读写的超时单位精确到毫秒,象 acl_res 模块还是延用最早的超时单位精度,也可以根据需要精确到毫秒。

from acl.

climber119 avatar climber119 commented on September 23, 2024

这应该是历史原因,最早Acl的IO读写超时的单位为秒,后来因为项目需要将IO读写的超时单位精确到毫秒,象 acl_res 模块还是延用最早的超时单位精度,也可以根据需要精确到毫秒。

这里会在后续版本考虑 在udp_res_lookup 直接使用acl_read_wait_ms 吗 ,还有若直接使用acl_gethostbyname 也是无法对单个域名进行超时设置的,目前的超时设置只能针对所有域名 除非使用知道nameserver 来acl_res_new 的方式创建并设置超时时间

from acl.

zhengshuxin avatar zhengshuxin commented on September 23, 2024

将来可以增加毫秒级别的超时功能。

from acl.

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.