projects
/
discourse_docker.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
225c3d0
)
DEV: Remove `RUBY_GLOBAL_METHOD_CACHE_SIZE` (#711)
author
Jarek Radosz
<jradosz@gmail.com>
Tue, 9 May 2023 09:57:55 +0000
(11:57 +0200)
committer
GitHub
<noreply@github.com>
Tue, 9 May 2023 09:57:55 +0000
(11:57 +0200)
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
patch
|
blob
|
blame
|
history
diff --git
a/templates/web.template.yml
b/templates/web.template.yml
index 99965a857b435539b54abfe45280ef4d6b16759a..7d716cc2326c7daeb882e28996659912cc84bf07 100644
(file)
--- 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