From 13db361aed43768d6a4b93fe3361bc3aa304b565 Mon Sep 17 00:00:00 2001 From: Mike Dalessio Date: Mon, 15 Sep 2025 12:22:21 -0400 Subject: [PATCH] dep: bump puma also remove the incorrect on_worker_boot block and the needless before_fork block --- Gemfile.lock | 2 +- config/puma.rb | 9 --------- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 426a657f6..8e9dc2d08 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -454,7 +454,7 @@ GEM date stringio public_suffix (6.0.2) - puma (6.6.1) + puma (7.0.3) nio4r (~> 2.0) pwned (2.4.1) raabro (1.4.0) diff --git a/config/puma.rb b/config/puma.rb index 7d17bcab0..0c4c0104e 100644 --- a/config/puma.rb +++ b/config/puma.rb @@ -24,17 +24,8 @@ plugin :tmp_restart plugin :solid_queue if ENV["SOLID_QUEUE_IN_PUMA"] if ENV.fetch("PREFORK") { !Rails.env.local? } - on_worker_boot do - Yabeda::ActiveRecord.start_timed_metric_collection_task - Hey.deployment.start_timed_report_host_refresh - end - # Expose prometheus metrics on port 9394 activate_control_app plugin :yabeda plugin :yabeda_prometheus - - before_fork do - Process.warmup - end end