examples/echo_client.rb in pigato-0.4.0 vs examples/echo_client.rb in pigato-0.4.1

- old
+ new

@@ -8,13 +8,12 @@ def start ts = [] (0..5).each do |tid| ts << Thread.new { - client = Pigato::Client.new('tcp://127.0.0.1:55555') - client.start + client = Pigato::Client.new('tcp://127.0.0.1:55555', { :autostart => true }) - requests = 10000 + requests = 1000 d1 = Time.now requests.times do |i| begin client.request('echo', 'Hello world1') end