Skip to content

how to add muti job servers? #6

@askie

Description

@askie

I want to add 2 job servers as failover, how to do add 2 job servers? and how to register worker to muti job servers?

php have the method like this:

$gmclient= new GearmanClient();
$gmclient->addServers("10.0.0.1,10.0.0.2:7003");



$worker= new GearmanWorker(); 
$worker->addServers("10.0.0.1,10.0.0.2:7003");

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions