mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 13:13:39 +08:00
0188d53f3a
In Discourse, `rails s` ultimately launches the `bin/unicorn` script. However, the overhead of `rails` launching `bin/rails`, and then in turn `bin/unicorn` can be non-trivial. Therefore it is much better to run `bin/unicorn` directly. This commit prints a warning message to STDERR when `rails s` is used. Functionality is unchanged. |
||
---|---|---|
.. | ||
docker | ||
bundle | ||
ember-cli | ||
notify_file_change | ||
rails | ||
rake | ||
rspec | ||
turbo_rspec | ||
unicorn |