Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

[server] increase max pg connection 30 -> 45

Neeraj Guptad1289bb4678b
diff --git a/server/cmd/museum/main.go b/server/cmd/museum/main.go
index f3a92cf210..fef4a810f2 100644
--- a/server/cmd/museum/main.go
+++ b/server/cmd/museum/main.go
@@ -861,7 +861,7 @@ func setupDatabase() *sql.DB {
}
db.SetMaxIdleConns(6)
- db.SetMaxOpenConns(30)
+ db.SetMaxOpenConns(45)
log.Println("Database was configured successfully.")