From 7eaf87ad990a45c044aa50c09d816a39e2764990 Mon Sep 17 00:00:00 2001 From: Jarek Radosz Date: Tue, 9 May 2023 11:57:55 +0200 Subject: [PATCH] DEV: Remove `RUBY_GLOBAL_METHOD_CACHE_SIZE` (#711) It doesn't do anything since ruby 3.0.0.preview1. It was removed in https://github.com/ruby/ruby/pull/2888 --- templates/web.template.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/templates/web.template.yml b/templates/web.template.yml index 99965a8..7d716cc 100644 --- a/templates/web.template.yml +++ b/templates/web.template.yml @@ -3,9 +3,6 @@ env: RAILS_ENV: 'production' UNICORN_WORKERS: 3 UNICORN_SIDEKIQS: 1 - # this gives us very good cache coverage, 96 -> 99 - # in practice it is 1-2% perf improvement - RUBY_GLOBAL_METHOD_CACHE_SIZE: 131072 # stop heap doubling in size so aggressively, this conserves memory RUBY_GC_HEAP_GROWTH_MAX_SLOTS: 40000 RUBY_GC_HEAP_INIT_SLOTS: 400000 -- 2.25.1