Skip to content

cleanup: remove DrainWorkers#2518

Merged
AlliBalliBaba merged 1 commit into
mainfrom
cleanup/remove-drain-workers
Jul 15, 2026
Merged

cleanup: remove DrainWorkers#2518
AlliBalliBaba merged 1 commit into
mainfrom
cleanup/remove-drain-workers

Conversation

@AlliBalliBaba

@AlliBalliBaba AlliBalliBaba commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

This PR removes the experimental DrainWorkers function since it serves no purpose anymore (as also discussed in #2499).

The original use was to have a graceful shutdown of all workers on Caddy shutdown (added here). Since shutdowns have long been fully safe, the function is not in use anymore. It might only be confusing for library users, since it does not allow recovering drained workers.

@AlliBalliBaba
AlliBalliBaba merged commit 0a2d75d into main Jul 15, 2026
32 checks passed
@AlliBalliBaba
AlliBalliBaba deleted the cleanup/remove-drain-workers branch July 15, 2026 22:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants