examples/echo_client.rb in pigato-0.2.23 vs examples/echo_client.rb in pigato-0.2.25
- old
+ new
@@ -5,15 +5,13 @@
require "#{File.dirname(__FILE__)}/../lib/pigato.rb"
#require "pigato"
require 'thread'
client = Pigato::Client.new('tcp://localhost:55555')
+client.start
-#Process.daemon
+Process.daemon
-#binding.remote_pry
-
-client.start
client.start
requests = 1000
d1 = Time.now
requests.times do |i|
begin