From 596cff64c648de9fbc2615bd7ffa28caa31e99a4 Mon Sep 17 00:00:00 2001 From: Alliballibaba Date: Mon, 13 Jul 2026 13:38:56 +0200 Subject: [PATCH] removes DrainWorkers --- worker.go | 7 ------- 1 file changed, 7 deletions(-) diff --git a/worker.go b/worker.go index 2ddd70f2f4..75d7915252 100644 --- a/worker.go +++ b/worker.go @@ -165,13 +165,6 @@ func newWorker(o workerOpt) (*worker, error) { return w, nil } -// EXPERIMENTAL: DrainWorkers initiates a graceful drain of all php threads. -// Blocks until every drained thread yields. Force-kill is armed after a -// grace period to wake threads parked in blocking syscalls (sleep, I/O). -func DrainWorkers() { - drainPHPThreads() -} - // RestartWorkers attempts to restart all workers gracefully. // All workers must be restarted at the same time to prevent issues with // opcache resetting. Blocks until every worker thread has yielded;