lib/sad/runner.rb in sad-1.5.15 vs lib/sad/runner.rb in sad-1.5.16

- old
+ new

@@ -22,11 +22,12 @@ if count and count != 0 count.times do |t| Daemons.run_proc("Sad-#{Sad::Config.queue(ENV['QUEUE'])}-#{t+1}", opts) do self.require_libs self.show_info + ::Sad.logger.reopen EM.run{ - Sad.logger.reopen + Sad::Config.redis.send(:reconnect) Sad::Server.run(ENV['QUEUE']) } end end end \ No newline at end of file