Update worker.go

Signed-off-by: Marc <m@pyc.ac>
This commit is contained in:
Marc
2026-03-16 09:32:47 +07:00
committed by GitHub
parent 45d49c1a65
commit d189770cc7

View File

@@ -173,7 +173,7 @@ func DrainWorkers() {
// RestartWorkers attempts to restart all workers gracefully
// All workers must be restarted at the same time to prevent issues with opcache resetting.
func RestartWorkers() {
restartThreadsAndOpcacheReset(false)
restartThreadsAndOpcacheReset(true)
}
func (worker *worker) attachThread(thread *phpThread) {