mirror of
https://github.com/mastodon/mastodon.git
synced 2024-12-22 17:17:32 +00:00
Add env variable to disable prepared statements (#1293)
This commit is contained in:
parent
c3e7bac1cc
commit
d5a675099a
|
@ -63,3 +63,7 @@ SMTP_FROM_ADDRESS=notifications@example.com
|
|||
|
||||
# Streaming API integration
|
||||
# STREAMING_API_BASE_URL=
|
||||
|
||||
# Advanced settings
|
||||
# If you need to use pgBouncer, you need to disable prepared statements:
|
||||
# PREPARED_STATEMENTS=false
|
||||
|
|
|
@ -22,3 +22,4 @@ production:
|
|||
password: <%= ENV['DB_PASS'] || '' %>
|
||||
host: <%= ENV['DB_HOST'] || 'localhost' %>
|
||||
port: <%= ENV['DB_PORT'] || 5432 %>
|
||||
prepared_statements: <%= ENV['PREPARED_STATEMENTS'] || 'true' %>
|
||||
|
|
Loading…
Reference in a new issue