update : 2015.11.03
php.shukuma.com검색:
|
GearmanWorker::addServer(PECL gearman >= 0.5.0) GearmanWorker::addServer — Add a job server 설명
public bool GearmanWorker::addServer
([ string
$host = 127.0.0.1
[, int $port = 4730
]] )Adds a job server to this worker. This goes into a list of servers than can be used to run jobs. No socket I/O happens here. 인수
반환값
성공 시 예제
Example #1 Add alternate Gearman servers
<?php |