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:
eded8db
)
remove uneeded env vars
author
Sam
<sam.saffron@gmail.com>
Wed, 25 May 2016 04:06:57 +0000
(14:06 +1000)
committer
Sam
<sam.saffron@gmail.com>
Wed, 25 May 2016 04:06:57 +0000
(14:06 +1000)
templates/web.template.yml
patch
|
blob
|
blame
|
history
diff --git
a/templates/web.template.yml
b/templates/web.template.yml
index 6c0f509760ab04e6eaf11865d01cf55599cac45a..d4c058c7c399365794362fcd23e41191d52f560c 100644
(file)
--- a/
templates/web.template.yml
+++ b/
templates/web.template.yml
@@
-3,11
+3,8
@@
env:
RAILS_ENV: 'production'
UNICORN_WORKERS: 3
UNICORN_SIDEKIQS: 1
RAILS_ENV: 'production'
UNICORN_WORKERS: 3
UNICORN_SIDEKIQS: 1
- # slightly less aggressive than "recommendation" but works fine with oobgc
- 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
+ # this gives us very good cache coverage, 96 -> 99
+ # in practice it is 1-2% perf improvement
RUBY_GLOBAL_METHOD_CACHE_SIZE: 131072
DISCOURSE_DB_SOCKET: /var/run/postgresql
RUBY_GLOBAL_METHOD_CACHE_SIZE: 131072
DISCOURSE_DB_SOCKET: /var/run/postgresql