Skip to content

Commit

Permalink
addServer() expects the port of the gearman deamon as second paramete…
Browse files Browse the repository at this point in the history
…r, addServers() supports giving the port in the form host:[port]
  • Loading branch information
feibeck authored and brianlmoon committed Sep 2, 2010
1 parent cc73aac commit b6b2166
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pecl-manager.php
Expand Up @@ -36,7 +36,7 @@ protected function start_lib_worker($worker_list) {

foreach($this->servers as $s){
$this->log("Adding server $s", GearmanManager::LOG_LEVEL_WORKER_INFO);
$thisWorker->addServer($s);
$thisWorker->addServers($s);
}

foreach($worker_list as $w){
Expand Down

0 comments on commit b6b2166

Please sign in to comment.