Building gems in parallels and use 4 workers
authorErick Guan <fantasticfears@gmail.com>
Thu, 31 Aug 2017 09:48:56 +0000 (11:48 +0200)
committerGitHub <noreply@github.com>
Thu, 31 Aug 2017 09:48:56 +0000 (11:48 +0200)
templates/web.template.yml

index 8bfe6daa9fe59aa78260606a9d5d95822168938e..a02039baa70bf5b7313861676383152f2c24234c 100644 (file)
@@ -168,7 +168,7 @@ run:
       cd: $home
       hook: bundle_exec
       cmd:
-        - su discourse -c 'bundle install --deployment --verbose --without test --without development'
+        - su discourse -c 'bundle install --deployment --verbose --without test --without development --retry 3 --jobs 4'
         - su discourse -c 'bundle exec rake db:migrate'
         - su discourse -c 'bundle exec rake assets:precompile'