Add env variable to disable prepared statements (#1293)

这个提交存在于:
Eugen 2017-04-09 05:46:32 +02:00 提交者 GitHub
父节点 c3e7bac1cc
当前提交 d5a675099a
共有 2 个文件被更改,包括 5 次插入0 次删除

查看文件

@ -63,3 +63,7 @@ SMTP_FROM_ADDRESS=notifications@example.com
# Streaming API integration # Streaming API integration
# STREAMING_API_BASE_URL= # 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'] || '' %> password: <%= ENV['DB_PASS'] || '' %>
host: <%= ENV['DB_HOST'] || 'localhost' %> host: <%= ENV['DB_HOST'] || 'localhost' %>
port: <%= ENV['DB_PORT'] || 5432 %> port: <%= ENV['DB_PORT'] || 5432 %>
prepared_statements: <%= ENV['PREPARED_STATEMENTS'] || 'true' %>