A platform for community discussion. Free, open, simple.
DEV: Remove `RUBY_GLOBAL_METHOD_CACHE_SIZE` (#21249)
Jarek Radosz00630e4c744e
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.ymlindex 5cfaeabad64..452a8906a94 100644--- a/.github/workflows/tests.yml+++ b/.github/workflows/tests.yml@@ -25,7 +25,6 @@ jobs:env:DISCOURSE_HOSTNAME: www.example.com- RUBY_GLOBAL_METHOD_CACHE_SIZE: 131072RAILS_ENV: testPGUSER: discoursePGPASSWORD: discoursediff --git a/script/bench.rb b/script/bench.rbindex 6e10dcd1125..ba0c5abcd14 100644--- a/script/bench.rb+++ b/script/bench.rb@@ -135,7 +135,6 @@ discourse_env_vars = %w[RUBY_GC_MALLOC_LIMIT_GROWTH_FACTORRUBY_GC_OLDMALLOC_LIMIT_GROWTH_FACTORRUBY_GC_HEAP_OLDOBJECT_LIMIT_FACTOR- RUBY_GLOBAL_METHOD_CACHE_SIZELD_PRELOAD]@@ -143,7 +142,6 @@ if @include_envputs "Running with tuned environment"discourse_env_vars.each { |v| ENV.delete v }- ENV["RUBY_GLOBAL_METHOD_CACHE_SIZE"] = "131072"ENV["RUBY_GC_HEAP_GROWTH_MAX_SLOTS"] = "40000"ENV["RUBY_GC_HEAP_INIT_SLOTS"] = "400000"ENV["RUBY_GC_HEAP_OLDOBJECT_LIMIT_FACTOR"] = "1.5"