From 54e4393646036748d3652933090cdc1a3e38c442 Mon Sep 17 00:00:00 2001 From: Sam Date: Tue, 24 May 2016 18:22:43 +1000 Subject: [PATCH] bump up method cache --- templates/web.template.yml | 2 ++ 1 file changed, 2 insertions(+) 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: -- 2.25.1