Skip to content

Commit

Permalink
Optimize better
Browse files Browse the repository at this point in the history
  • Loading branch information
NodudeWasTaken committed Nov 1, 2024
1 parent d3771bf commit 3f1da4d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/sqlite/database_postgres.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 3f1da4d

Please sign in to comment.