Don't override maximum pool size from connection string
This commit is contained in:
parent
1aa4cbf3d8
commit
83212b4bb2
@ -37,7 +37,7 @@ namespace PluralKit.Core
|
|||||||
|
|
||||||
_connectionString = new NpgsqlConnectionStringBuilder(_config.Database)
|
_connectionString = new NpgsqlConnectionStringBuilder(_config.Database)
|
||||||
{
|
{
|
||||||
Pooling = true, MaxPoolSize = 500, Enlist = false, NoResetOnClose = true,
|
Pooling = true, Enlist = false, NoResetOnClose = true,
|
||||||
|
|
||||||
// Lower timeout than default (15s -> 2s), should ideally fail-fast instead of hanging
|
// Lower timeout than default (15s -> 2s), should ideally fail-fast instead of hanging
|
||||||
Timeout = 2
|
Timeout = 2
|
||||||
|
Loading…
Reference in New Issue
Block a user