Turn on eager_load in development worker

This commit is contained in:
Martin Artnik 2023-07-26 13:07:22 +02:00
parent c3e6ae09f0
commit 5bf2e76f28

View file

@ -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