|
GearmanWorker::addServersAdd job servers Description
public bool GearmanWorker::addServers(string
$servers = null , bool $setupExceptionHandler = true )Adds one or more job servers to this worker. These go into a list of servers that can be used to run jobs. No socket I/O happens here. Parameters
Return Values
Returns Examples
Example #1 Add two job servers
See Also
|