mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
This is a new feature in Rails 7. Whenever a query is triggered it not only show you the query (as before), but also tells you (directly in the logs) exactly which line of code was responsible for triggering the query. It's unbelievably useful for debugging and performance work.
22 lines
583 B
Plaintext
22 lines
583 B
Plaintext
# ENV vars for the development environment
|
|
# Override locally with `.env.development.local`
|
|
#
|
|
# You may also want to use this when testing other environments locally:
|
|
#
|
|
# cp .env.development .env.local
|
|
|
|
VERBOSE_QUERY_LOGS=true
|
|
|
|
SECRET_TOKEN="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
|
|
|
|
OFN_REDIS_URL="redis://localhost:6379/1"
|
|
OFN_REDIS_JOBS_URL="redis://localhost:6379/2"
|
|
|
|
SITE_URL="0.0.0.0:3000"
|
|
|
|
# Deactivate rack-timeout in development.
|
|
# https://github.com/zombocom/rack-timeout#configuring
|
|
RACK_TIMEOUT_SERVICE_TIMEOUT="0"
|
|
RACK_TIMEOUT_WAIT_TIMEOUT="0"
|
|
RACK_TIMEOUT_WAIT_OVERTIME="0"
|