examples/echo_client.rb in pigato-0.2.1 vs examples/echo_client.rb in pigato-0.2.2
- old
+ new
@@ -3,10 +3,10 @@
require "rubygems"
require "#{File.dirname(__FILE__)}/../lib/pigato.rb"
#require "pigato"
client = Pigato::Client.new('tcp://localhost:55555', { :autostart => true })
-requests = 1000
+requests = 10
d1 = Time.now
requests.times do |i|
begin
client.request('echo', 'Hello world')
end