mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-15 18:20:11 +00:00
Don't override maximum pool size from connection string
This commit is contained in:
parent
1aa4cbf3d8
commit
83212b4bb2
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue