DEV: Remove `RUBY_GLOBAL_METHOD_CACHE_SIZE` (#21249)
It doesn't do anything since ruby 3.0.0.preview1. It was removed in https://github.com/ruby/ruby/pull/2888
This commit is contained in:
parent
d4c6457065
commit
00630e4c74
|
@ -25,7 +25,6 @@ jobs:
|
|||
|
||||
env:
|
||||
DISCOURSE_HOSTNAME: www.example.com
|
||||
RUBY_GLOBAL_METHOD_CACHE_SIZE: 131072
|
||||
RAILS_ENV: test
|
||||
PGUSER: discourse
|
||||
PGPASSWORD: discourse
|
||||
|
|
|
@ -135,7 +135,6 @@ discourse_env_vars = %w[
|
|||
RUBY_GC_MALLOC_LIMIT_GROWTH_FACTOR
|
||||
RUBY_GC_OLDMALLOC_LIMIT_GROWTH_FACTOR
|
||||
RUBY_GC_HEAP_OLDOBJECT_LIMIT_FACTOR
|
||||
RUBY_GLOBAL_METHOD_CACHE_SIZE
|
||||
LD_PRELOAD
|
||||
]
|
||||
|
||||
|
@ -143,7 +142,6 @@ if @include_env
|
|||
puts "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"
|
||||
|
|
Loading…
Reference in New Issue