1
0
mirror of https://github.com/mastodon/mastodon synced 2024-11-27 06:18:17 +09:00

DB Replica database_tasks as ENV (#32908)

This commit is contained in:
Shlee 2024-11-19 08:54:28 +00:00 committed by GitHub
parent 425982841d
commit 06fcee099a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -60,5 +60,6 @@ production:
password: <%= (ENV['REPLICA_DB_PASS'] || ENV['DB_PASS'] || '').to_json %>
host: <%= ENV['REPLICA_DB_HOST'] || ENV['DB_HOST'] || 'localhost' %>
port: <%= ENV['REPLICA_DB_PORT'] || ENV['DB_PORT'] || 5432 %>
prepared_statements: <%= ENV['PREPARED_STATEMENTS'] || 'true' %>
prepared_statements: <%= ENV['REPLICA_PREPARED_STATEMENTS'] || ENV['PREPARED_STATEMENTS'] || 'true' %>
replica: true
database_tasks: <%= ENV['REPLICA_DB_TASKS'] || 'true' %>