Unicorn development settings should match production as much as possible
The following discussion from !20892 (merged) should be addressed:
-
@godfat started a discussion: (+1 comment) I didn't recall I hit into this, therefore I took a look at my
unicorn.rb
and found that it was copying from https://gitlab.com/gitlab-org/gitlab-ce/blob/master/config/unicorn.rb.example.development thus not havingpreload_app true
.This is a completely separate concern, but I feel we should share some of the configuration, especially for
preload_app true
since that really makes a huge difference, and we'll realize this with GDK and it shouldn't really have downside (except for being easier to break just like production?)