Skip to content

Commit

Permalink
postgres_driver.nim: change MaxNumCons from 5 to 50
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivansete-status committed Oct 27, 2023
1 parent d177177 commit 0ee4293
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ proc insertRow(): string =
"""INSERT INTO messages (id, storedAt, contentTopic, payload, pubsubTopic,
version, timestamp) VALUES ($1, $2, $3, $4, $5, $6, $7);"""

const MaxNumConns = 5 #TODO: we may need to set that from app args (maybe?)
const MaxNumConns = 50 #TODO: we may need to set that from app args (maybe?)

proc new*(T: type PostgresDriver,
dbUrl: string,
Expand Down

0 comments on commit 0ee4293

Please sign in to comment.