lib/tork/config/rails/worker.rb in tork-19.4.0 vs lib/tork/config/rails/worker.rb in tork-19.5.0

- old
+ new

@@ -8,10 +8,10 @@ if base.respond_to? :connection_info # rails >= 3.1.0 base.connection_info elsif base.respond_to? :connection_pool # rails >= 2.2.1 base.connection_pool.spec.config else - warn "#{$0}: config/rails/worker: couldn't read connection information" + warn "#{$0}: config/rails/worker: could not read connection information" {} end # in-memory databases are private to each process so they're safely fork()ed base.connection.reconnect! unless info[:database] == ':memory:'