mirror of
https://github.com/discourse/discourse.git
synced 2025-03-03 22:39:57 +08:00
DEV: Increase pool connections to 2 in test environment
In our CI env, sometimes, we see problems regarding getting a connection from the pool. As it’s currently set to 1, increasing it a bit should fix that kind of issues.
This commit is contained in:
parent
5a3afa0505
commit
1e8f43ec0a
@ -36,7 +36,7 @@ test:
|
|||||||
adapter: postgresql
|
adapter: postgresql
|
||||||
database: <%= test_db %>
|
database: <%= test_db %>
|
||||||
min_messages: warning
|
min_messages: warning
|
||||||
pool: 1
|
pool: 2
|
||||||
reaping_frequency: 0
|
reaping_frequency: 0
|
||||||
checkout_timeout: <%= ENV["CHECKOUT_TIMEOUT"] || 5 %>
|
checkout_timeout: <%= ENV["CHECKOUT_TIMEOUT"] || 5 %>
|
||||||
host_names:
|
host_names:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user