Git Product home page Git Product logo

Comments (6)

lyc8503 avatar lyc8503 commented on September 28, 2024

应该是 Cloudflare 限制了 TCP 连接并发最多 6 条,之前的连接没有正确被关闭导致超过上限,我稍后看下

from uptimeflare.

dovemoe avatar dovemoe commented on September 28, 2024

补充一下截图
image

from uptimeflare.

dovemoe avatar dovemoe commented on September 28, 2024

https://developers.cloudflare.com/workers/platform/limits/#simultaneous-open-connections
也许是这个原因?

from uptimeflare.

lyc8503 avatar lyc8503 commented on September 28, 2024

https://developers.cloudflare.com/workers/platform/limits/#simultaneous-open-connections 也许是这个原因?

是和这个有关,应该是 TCP 连接没有正确关闭导致了超出并发数

from uptimeflare.

lyc8503 avatar lyc8503 commented on September 28, 2024

await socket.close()

我应该已经正确地关闭了 TCP 连接,我不知道这是不是一个 Cloudflare 内部实现导致的问题,我猜测设置一个 checkLocationWorkerRoute 可能可以绕过这个问题,最近比较忙,可能之后再深入研究下这个问题。

from uptimeflare.

dovemoe avatar dovemoe commented on September 28, 2024

经过测试和观察,通过设置 checkLocationWorkerRoute 确实可以不受到 Cloudflare Workers 的并发数限制,目前使用一切正常,感谢您对该项目的支持,请查阅邮件。

from uptimeflare.

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.