examples/echo_client.rb in pigato-0.2.2 vs examples/echo_client.rb in pigato-0.2.3
- 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 = 10
+requests = 1000
d1 = Time.now
requests.times do |i|
begin
client.request('echo', 'Hello world')
end