From: Sam Date: Tue, 24 May 2016 08:22:43 +0000 (+1000) Subject: bump up method cache X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=54e4393646036748d3652933090cdc1a3e38c442;p=discourse_docker.git bump up method cache --- diff --git a/templates/web.template.yml b/templates/web.template.yml index f174568..6c0f509 100644 --- 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: