Skip to content

Commit

Permalink
fix(config/puma): replace rails .day method
Browse files Browse the repository at this point in the history
  • Loading branch information
jgmontoya committed Aug 6, 2020
1 parent b577342 commit 5ee21eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/potassium/assets/config/puma.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
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+
Expand Down

0 comments on commit 5ee21eb

Please sign in to comment.