lib/potassium/assets/config/puma.rb in potassium-6.0.0 vs lib/potassium/assets/config/puma.rb in potassium-6.1.0

- old
+ new

@@ -22,10 +22,10 @@ port ENV.fetch('PORT', 3000) rack_env = ENV.fetch("RACK_ENV", "development") environment rack_env # Set 1 day timeout for workers while developing -worker_timeout 1.day.seconds.to_i if rack_env == "development" +worker_timeout 24 * 60 * 60 if rack_env == "development" on_worker_boot do # Worker specific setup for Rails 4.1+ # See: https://devcenter.heroku.com/articles/deploying-rails-applications-with-the-puma-web-server#on-worker-boot ActiveRecord::Base.establish_connection