From 5ee21eb1779668ff423fd07b8a5b50ff9e9048e3 Mon Sep 17 00:00:00 2001 From: "Javier G. Montoya S" Date: Thu, 6 Aug 2020 16:35:20 -0400 Subject: [PATCH] fix(config/puma): replace rails .day method --- lib/potassium/assets/config/puma.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/potassium/assets/config/puma.rb b/lib/potassium/assets/config/puma.rb index 83ed82dd..3afb025f 100644 --- a/lib/potassium/assets/config/puma.rb +++ b/lib/potassium/assets/config/puma.rb @@ -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+