From 3f1da4d8caaf9e4e2f39c9dc1dbfbc04c61df771 Mon Sep 17 00:00:00 2001 From: Nodude <75137537+NodudeWasTaken@users.noreply.github.com> Date: Fri, 1 Nov 2024 18:16:03 +0100 Subject: [PATCH] Optimize better --- pkg/sqlite/database_postgres.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/sqlite/database_postgres.go b/pkg/sqlite/database_postgres.go index 14457c49758..74914c2d1d1 100644 --- a/pkg/sqlite/database_postgres.go +++ b/pkg/sqlite/database_postgres.go @@ -16,8 +16,8 @@ type PostgresDB struct { const ( // TODO: Optimize for these - maxPGWriteConnections = 10 - maxPGReadConnections = 25 + maxPGWriteConnections = 5 + maxPGReadConnections = 15 ) func NewPostgresDatabase(dbConnector string, init bool) *PostgresDB {