PHP - Manual: GearmanWorker::unregister
2024-11-15
(PECL gearman >= 0.6.0)
GearmanWorker::unregister — Unregister a function name with the job servers
$function_name
): boolUnregisters a function name with the job servers ensuring that no more jobs (for that function) are sent to this worker.
function_name
The name of a function to register with the job server
A standard Gearman return value.
官方地址:https://www.php.net/manual/en/gearmanworker.unregister.php