update : 2015.11.03
php.shukuma.com검색:
|
GearmanWorker::addServers(PECL gearman >= 0.5.0) GearmanWorker::addServers — Add job servers 설명
public bool GearmanWorker::addServers
( string
$servers = 127.0.0.1:4730
)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. 인수
반환값
성공 시 예제
Example #1 Add two job servers
<?php |