diff --git a/go.mod b/go.mod index d4099dee..31e6df16 100644 --- a/go.mod +++ b/go.mod @@ -28,7 +28,7 @@ require ( github.com/nlopes/slack v0.6.0 github.com/opencontainers/go-digest v1.0.0 github.com/opencontainers/image-spec v1.1.1 - github.com/panjf2000/ants/v2 v2.11.3 + github.com/panjf2000/ants/v2 v2.11.4 github.com/pkg/errors v0.9.1 github.com/pkg/profile v1.7.0 github.com/rabbitmq/amqp091-go v1.10.0 diff --git a/go.sum b/go.sum index 61cfc8f3..3e4de075 100644 --- a/go.sum +++ b/go.sum @@ -280,8 +280,8 @@ github.com/opencontainers/image-spec v1.1.1/go.mod h1:qpqAh3Dmcf36wStyyWU+kCeDgr github.com/opencontainers/runtime-spec v1.2.1 h1:S4k4ryNgEpxW1dzyqffOmhI1BHYcjzU8lpJfSlR0xww= github.com/opencontainers/runtime-spec v1.2.1/go.mod h1:jwyrGlmzljRJv/Fgzds9SsS/C5hL+LL3ko9hs6T5lQ0= github.com/orisano/pixelmatch v0.0.0-20220722002657-fb0b55479cde/go.mod h1:nZgzbfBr3hhjoZnS66nKrHmduYNpc34ny7RK4z5/HM0= -github.com/panjf2000/ants/v2 v2.11.3 h1:AfI0ngBoXJmYOpDh9m516vjqoUu2sLrIVgppI9TZVpg= -github.com/panjf2000/ants/v2 v2.11.3/go.mod h1:8u92CYMUc6gyvTIw8Ru7Mt7+/ESnJahz5EVtqfrilek= +github.com/panjf2000/ants/v2 v2.11.4 h1:UJQbtN1jIcI5CYNocTj0fuAUYvsLjPoYi0YuhqV/Y48= +github.com/panjf2000/ants/v2 v2.11.4/go.mod h1:8u92CYMUc6gyvTIw8Ru7Mt7+/ESnJahz5EVtqfrilek= github.com/pkg/errors v0.8.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= diff --git a/vendor/github.com/panjf2000/ants/v2/README.md b/vendor/github.com/panjf2000/ants/v2/README.md index 826a55e1..3baa602d 100644 --- a/vendor/github.com/panjf2000/ants/v2/README.md +++ b/vendor/github.com/panjf2000/ants/v2/README.md @@ -147,7 +147,7 @@ The source code in `ants` is available under the [MIT License](/LICENSE). ## 🖥 Use cases -### business corporations +### business corporations & open-source organizations Trusted by the following corporations/organizations. @@ -258,6 +258,18 @@ Trusted by the following corporations/organizations. + + + + + + + + + + + + @@ -273,6 +285,9 @@ The open-source projects below do concurrent programming with the help of `ants` - [nps](https://github.com/ehang-io/nps): A lightweight, high-performance, powerful intranet penetration proxy server, with a powerful web management terminal. - [TDengine](https://github.com/taosdata/TDengine): TDengine is an open source, high-performance, cloud native time-series database optimized for Internet of Things (IoT), Connected Cars, and Industrial IoT. - [siyuan](https://github.com/siyuan-note/siyuan): SiYuan is a local-first personal knowledge management system that supports complete offline use, as well as end-to-end encrypted synchronization. +- [BillionMail](https://github.com/aaPanel/BillionMail): A future open-source Mail server, Email marketing platform designed to help businesses and individuals manage their email campaigns with ease. +- [WeKnora](https://github.com/Tencent/WeKnora): An LLM-powered framework designed for deep document understanding and semantic retrieval, especially for handling complex, heterogeneous documents. +- [coze-loop](https://github.com/coze-dev/coze-loop): A developer-oriented, platform-level solution focused on the development and operation of AI agents. - [osmedeus](https://github.com/j3ssie/osmedeus): A Workflow Engine for Offensive Security. - [jitsu](https://github.com/jitsucom/jitsu/tree/master): An open-source Segment alternative. Fully-scriptable data ingestion engine for modern data teams. Set-up a real-time data pipeline in minutes, not days. - [triangula](https://github.com/RH12503/triangula): Generate high-quality triangulated and polygonal art from images. @@ -304,25 +319,31 @@ If you have `ants` integrated into projects, feel free to open a pull request re JetBrains logo. -## 💰 Backers - -Support us with a monthly donation and help us continue our activities. - - - -## 💎 Sponsors - -Become a bronze sponsor with a monthly donation of $10 and get your logo on our README on GitHub. - - - ## ☕️ Buy me a coffee > Please be sure to leave your name, GitHub account, or other social media accounts when you donate by the following means so that I can add it to the list of donors as a token of my appreciation. -   -   -   + + + + + + + + +
+ + Buy me a coffee + + + + Patreon + + + + OpenCollective + +
## 🔋 Sponsorship diff --git a/vendor/github.com/panjf2000/ants/v2/README_ZH.md b/vendor/github.com/panjf2000/ants/v2/README_ZH.md index 793c02c2..69e8736d 100644 --- a/vendor/github.com/panjf2000/ants/v2/README_ZH.md +++ b/vendor/github.com/panjf2000/ants/v2/README_ZH.md @@ -148,7 +148,7 @@ pool.Reboot() ## 🖥 用户案例 -### 商业公司 +### 商业公司和开源组织 以下公司/组织在生产环境上使用了 `ants`。 @@ -258,10 +258,21 @@ pool.Reboot() + + + + + + + + + + + + - 如果你也正在生产环境上使用 `ants`,欢迎提 PR 来丰富这份列表。 ### 开源软件 @@ -273,6 +284,9 @@ pool.Reboot() - [nps](https://github.com/ehang-io/nps): 一款轻量级、高性能、功能强大的内网穿透代理服务器。 - [TDengine](https://github.com/taosdata/TDengine): TDengine 是一款开源、高性能、云原生的时序数据库 (Time-Series Database, TSDB)。TDengine 能被广泛运用于物联网、工业互联网、车联网、IT 运维、金融等领域。 - [siyuan](https://github.com/siyuan-note/siyuan): 思源笔记是一款本地优先的个人知识管理系统,支持完全离线使用,同时也支持端到端加密同步。 +- [BillionMail](https://github.com/aaPanel/BillionMail): BillionMail 是一个未来的开源邮件服务器和电子邮件营销平台,旨在帮助企业和个人轻松管理他们的电子邮件营销活动。 +- [WeKnora](https://github.com/Tencent/WeKnora): 一款基于大语言模型(LLM)的文档理解与语义检索框架,专为结构复杂、内容异构的文档场景而打造。 +- [coze-loop](https://github.com/coze-dev/coze-loop): Coze Loop 是一个面向开发者,专注于 AI Agent 开发与运维的平台级解决方案。 - [osmedeus](https://github.com/j3ssie/osmedeus): A Workflow Engine for Offensive Security. - [jitsu](https://github.com/jitsucom/jitsu/tree/master): An open-source Segment alternative. Fully-scriptable data ingestion engine for modern data teams. Set-up a real-time data pipeline in minutes, not days. - [triangula](https://github.com/RH12503/triangula): Generate high-quality triangulated and polygonal art from images. @@ -304,25 +318,31 @@ pool.Reboot() JetBrains logo. -## 💰 支持 - -如果有意向,可以通过每个月定量的少许捐赠来支持这个项目。 - - - -## 💎 赞助 - -每月定量捐赠 10 刀即可成为本项目的赞助者,届时您的 logo 或者 link 可以展示在本项目的 README 上。 - - - ## ☕️ 打赏 > 当您通过以下方式进行捐赠时,请务必留下姓名、GitHub 账号或其他社交媒体账号,以便我将其添加到捐赠者名单中,以表谢意。 -   -   -   + + + + + + + + +
+ + Buy me coffee + + + + Patreon + + + + OpenCollective + +
## 🔋 赞助商 diff --git a/vendor/github.com/panjf2000/ants/v2/ants.go b/vendor/github.com/panjf2000/ants/v2/ants.go index eae6a149..50ef08ee 100644 --- a/vendor/github.com/panjf2000/ants/v2/ants.go +++ b/vendor/github.com/panjf2000/ants/v2/ants.go @@ -472,9 +472,9 @@ retry: // If the worker queue is empty, and we don't run out of the pool capacity, // then just spawn a new worker goroutine. if capacity := p.Cap(); capacity == -1 || capacity > p.Running() { - p.lock.Unlock() w = p.workerCache.Get().(worker) w.run() + p.lock.Unlock() return } diff --git a/vendor/modules.txt b/vendor/modules.txt index 1c94597a..99c29f18 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -352,7 +352,7 @@ github.com/opencontainers/image-spec/specs-go/v1 # github.com/opencontainers/runtime-spec v1.2.1 ## explicit github.com/opencontainers/runtime-spec/specs-go -# github.com/panjf2000/ants/v2 v2.11.3 +# github.com/panjf2000/ants/v2 v2.11.4 ## explicit; go 1.18 github.com/panjf2000/ants/v2 github.com/panjf2000/ants/v2/pkg/sync