Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: f699c14eaa
Fetching contributors…

Cannot retrieve contributors at this time

17 lines (13 sloc) 0.338 kB
<?php
require_once 'Net/Gearman/Worker.php';
try {
$worker = new Net_Gearman_Worker(array('dev01:7003', 'dev01:7004'));
$worker->addAbility('Hello');
$worker->addAbility('Fail');
$worker->addAbility('SQL');
$worker->beginWork();
} catch (Net_Gearman_Exception $e) {
echo $e->getMessage() . "\n";
exit;
}
?>
Jump to Line
Something went wrong with that request. Please try again.