From 83212b4bb2087b7d2e9b38658c0c6a6fa2928baa Mon Sep 17 00:00:00 2001 From: Ske Date: Tue, 24 Aug 2021 11:22:41 +0200 Subject: [PATCH] Don't override maximum pool size from connection string --- PluralKit.Core/Database/Database.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PluralKit.Core/Database/Database.cs b/PluralKit.Core/Database/Database.cs index 966e416a..ca96a500 100644 --- a/PluralKit.Core/Database/Database.cs +++ b/PluralKit.Core/Database/Database.cs @@ -37,7 +37,7 @@ namespace PluralKit.Core _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 Timeout = 2