mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
DEV: Disable migration advisory locks in dev and test environment.
There is a bug in Rails that leaks an idle PG session which will prevent the dropping of the database.
This commit is contained in:
parent
5d7055779a
commit
f08d440ea0
@ -6,6 +6,7 @@ development:
|
|||||||
pool: 5
|
pool: 5
|
||||||
timeout: 5000
|
timeout: 5000
|
||||||
checkout_timeout: <%= ENV['CHECKOUT_TIMEOUT'] || 5 %>
|
checkout_timeout: <%= ENV['CHECKOUT_TIMEOUT'] || 5 %>
|
||||||
|
advisory_locks: false # Disable until https://github.com/rails/rails/issues/40029 has beeen resolved.
|
||||||
host_names:
|
host_names:
|
||||||
### Don't include the port number here. Change the "port" site setting instead, at /admin/site_settings.
|
### Don't include the port number here. Change the "port" site setting instead, at /admin/site_settings.
|
||||||
### If you change this setting you will need to
|
### If you change this setting you will need to
|
||||||
@ -36,6 +37,7 @@ test:
|
|||||||
min_messages: warning
|
min_messages: warning
|
||||||
pool: 5
|
pool: 5
|
||||||
timeout: 5000
|
timeout: 5000
|
||||||
|
advisory_locks: false # Disable until https://github.com/rails/rails/issues/40029 has beeen resolved.
|
||||||
host_names:
|
host_names:
|
||||||
- test.localhost
|
- test.localhost
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user