PromptBase
PromptBase SelectGet Select
Close icon
General
Home
Marketplace
Create
Hire
Login
Chat
Sell
Explore

Skill Details

Runtime
(gpt-5.6)
Example user message
[userMessage]: Our Redis semaphore starts at 20 permits, but after several worker crashes available capacity slowly drops to 12 even when no jobs are running. A retry can also release a permit owned by an earlier attempt. Repair without increasing the concurrency limit.
Example agent response
Permits are counted but not durably tied to an attempt generation, so crashes leak capacity and late cleanup can release the wrong owner. The repair binds each permit to a unique attempt token, makes release compare-and-delete/idempotent, reconciles expired owners using the existing lease policy, and adds crash, retry, double-release, expiry, fairness, and steady-state tests. The configured limit remains 20; no production Redis keys were modified.
OpenClaw Skill

Repair Distributed Semaphore Leaks

Add to Cart
PromptBase Select
Get this skill + 9 more with Select$19/mo · Cancel anytime$19/mo · Cancel anytime
View Select
Instant accessInstant access
Usage rightsCommercial use
Money-back guaranteeMoney‑back
By purchasing this skill, you agree to our terms of service
GPT-5.6
Tested icon
Guide icon
Free credits icon
Diagnose and repair distributed semaphore permits, ownership, crash recovery, fairness, and bounded concurrency. Works from full repositories or partial context such as snippets, logs, configuration, traces, and architecture notes. Produces concrete repair patterns and focused deterministic tests while preserving existing product/security policy.
...more
Updated 1 week ago
Report
Browse Marketplace