mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-26 01:35:34 +08:00
Turn on eager_load in development worker
This commit is contained in:
parent
c3e6ae09f0
commit
5bf2e76f28
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ Rails.application.configure do
|
|||
config.cache_classes = ENV['WORKER'].present?
|
||||
|
||||
# Do not eager load code on boot.
|
||||
config.eager_load = false
|
||||
config.eager_load = ENV['WORKER'].present?
|
||||
|
||||
# Show full error reports.
|
||||
config.consider_all_requests_local = true
|
||||
|
|
Loading…
Reference in a new issue