bump up method cache
authorSam <sam.saffron@gmail.com>
Tue, 24 May 2016 08:22:43 +0000 (18:22 +1000)
committerSam <sam.saffron@gmail.com>
Tue, 24 May 2016 08:22:43 +0000 (18:22 +1000)
templates/web.template.yml

index f174568120eba9d92b7156f3d8885ac14bada055..6c0f509760ab04e6eaf11865d01cf55599cac45a 100644 (file)
@@ -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: