From 6b84f5e522de2a750682c8abd5f72038810d312a Mon Sep 17 00:00:00 2001 From: Sam Saffron Date: Thu, 14 Nov 2013 17:20:05 -0800 Subject: [PATCH] add malloc limit increase so it works nicely with oobgc remove deployment --- standalone.template.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/standalone.template.yml b/standalone.template.yml index 220e7d7..6c70fe4 100644 --- a/standalone.template.yml +++ b/standalone.template.yml @@ -11,8 +11,9 @@ env: # You can have redis on a different box # REDIS_PROVIDER_URL: 'redis://l.discourse:6379' RAILS_ENV: 'production' - RAILS4: 1 UNICORN_WORKERS: 3 + # slightly less aggressive than "recommendation" but works fine with oobgc + RUBY_GC_MALLOC_LIMIT: 25000000 params: # SSH key is required for remote access into the container @@ -210,7 +211,7 @@ run: cd: $home cmd: - chown -R discourse $home - - sudo -E -u discourse bundle install --deployment + - sudo -E -u discourse bundle install --deployment --without test --without development - sudo -E -u discourse bundle exec rake db:migrate - sudo -E -u discourse bundle exec rake assets:precompile -- 2.25.1