1
0
مراية لـ https://github.com/postalserver/postal.git تم المزامنة 2025-11-30 21:32:30 +00:00
الملفات
postal/config/database.yml
Adam Cooke 7bc5230cba fix: re-add reconnect: true to database
This is deprecated and, in my tests, isn't needed but to avoid any
potential issues I am re-adding it here. When we upgrade to Rails 7.1,
we can remove this and that'll handle reconnections as appropriate.
2024-02-06 13:14:21 +00:00

20 أسطر
464 B
YAML

default: &default
adapter: mysql2
reconnect: true
encoding: <%= Postal.config.main_db.encoding %>
pool: <%= Postal.config.main_db.pool_size %>
username: <%= Postal.config.main_db.username %>
password: <%= Postal.config.main_db.password %>
host: <%= Postal.config.main_db.host %>
port: <%= Postal.config.main_db.port %>
database: <%= Postal.config.main_db.database %>
development:
<<: *default
production:
<<: *default
test:
<<: *default