diff --git a/tests/tamer.php b/tests/tamer.php index 60bf683..7388283 100644 --- a/tests/tamer.php +++ b/tests/tamer.php @@ -8,7 +8,7 @@ import('net.nosial.tamerlib', 'latest'); - Tamer::init(ProtocolType::RabbitMQ, + Tamer::init(ProtocolType::Gearman, ['127.0.0.1:4730'] //['127.0.0.1:5672'], 'guest', 'guest' ); @@ -68,4 +68,4 @@ echo "Average time: " . (array_sum($times) / count($times)) . " seconds \n"; echo "Took (with tamer)" . ($b - $a) . " seconds \n"; echo "Total time (without tamer): " . (array_sum($times)) . " seconds \n"; - echo "Tamer overhead: " . (($b - $a) - array_sum($times)) . " seconds \n"; \ No newline at end of file + echo "Tamer overhead: " . (($b - $a) - array_sum($times)) . " seconds \n";