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:
844ca25
)
bump up method cache
author
Sam
<sam.saffron@gmail.com>
Tue, 24 May 2016 08:22:43 +0000
(18:22 +1000)
committer
Sam
<sam.saffron@gmail.com>
Tue, 24 May 2016 08:22:43 +0000
(18:22 +1000)
templates/web.template.yml
patch
|
blob
|
blame
|
history
diff --git
a/templates/web.template.yml
b/templates/web.template.yml
index f174568120eba9d92b7156f3d8885ac14bada055..6c0f509760ab04e6eaf11865d01cf55599cac45a 100644
(file)
--- a/
templates/web.template.yml
+++ b/
templates/web.template.yml
@@
-7,6
+7,8
@@
env:
RUBY_GC_MALLOC_LIMIT: 40000000
# this ensures we have enough heap space to handle a big pile of small reqs
RUBY_GC_HEAP_INIT_SLOTS: 800000
+ # this gives us very good cache coverage, 96 -> 99
+ RUBY_GLOBAL_METHOD_CACHE_SIZE: 131072
DISCOURSE_DB_SOCKET: /var/run/postgresql
DISCOURSE_DB_HOST: