## rails 7.2でのconfig/puma.rbの大幅な更新 `rails new`で生成されるconfig/puma.rbが大幅に更新されました。 - [v7.1.4のpuma.rb.tt](https://github.com/rails/rails/blob/v7.1.4/railties/lib/rails/generators/rails/app/templates/config/puma.rb.tt) - [v7.2.1のpuma.rb.tt](https://github.com/rails/rails/blob/v7.2.1/railties/lib/rails/generators/rails/app/templates/config/puma.rb.tt) 主要な変更点は以下の通りです。 - `threads`の指定方法の変更: [リリースノート:Pumaのデフォルトのスレッド数が新しくなった](https://railsguides.jp/7_2_release_notes.html#puma%E3%81%AE%E3%83%87%E3%83%95%E3%82%A9%E3%83%AB%E3%83%88%E3%81%AE%E3%82%B9%E3%83%AC%E3%83%83%E3%83%89%E6%95%B0%E3%81%8C%E6%96%B0%E3%81%97%E3%81%8F%E3%81%AA%E3%81%A3%E3%81%9F)、[PR #50450](https://github.com/rails/rails/issues/50450) 、[PR #50669](https://github.com/rails/rails/pull/50669) - `pidfile`の変更: [PR #50644](https://github.com/rails/rails/pull/50644)、[PR #50669](https://github.com/rails/rails/pull/50669)、[commit 57a6916](https://github.com/rails/rails/commit/57a69167f0163b8e801000e8b7ac9807687fa933) - `environment`の削除: [PR #52541](https://github.com/rails/rails/pull/52541) - production環境での`workers`の削除: [commit 142e6ab](https://github.com/rails/rails/commit/142e6ab2c1e3cb7df4b82e20e2a1cd676b755714) - production環境での`preload_app!`の削除: [PR #52541](https://github.com/rails/rails/pull/52541) - development環境での`worker_timeout`の削除: [PR #52541](https://github.com/rails/rails/pull/52541)