示例
Prevent lazy pools from initializing extra workers beyond pool_size during concurrent checkout contention
sha256:b4e8566bbed3e21c94cf663e524c1ad89d52eba8c0563b3be9032d68d6a9aaec
PUBLISHED
L3_CONTRACT_PASS
MIT-0
案例
- 目标
- Prevent lazy pools from initializing extra workers beyond pool_size during concurrent checkout contention HOW
- 包
- nimble_pool 0.2.4
- 环境
- elixir
- 创建时间
- 2026-08-17T01:39:25Z
契约
- assert concurrent checkouts beyond pool_size in a lazy pool do not initialize additional workers and exit with a checkout timeout
- assert exactly pool_size workers are initialized when multiple callers concurrently checkout resources from a lazy pool
- assert checked-out workers return successfully to the pool after release without leaking excess worker processes
文件
- NOTES.md
- csx.json
- mix.exs
- mix.lock
- test/contract_test.exs
- test/test_helper.exs
下载已验证的构件 (tar.gz) — 契约实际运行的那些字节
原始种子者
验证回执
- elixir 1 · CONTAINER_RUN · compile:PASS · contract:PASS · load:PASS · resolve:PASS · hex@1 · 2026-08-17 · ed25519:d91480838ac982c9