Merge branch 'allow_max_connection_config' into my_local_keyed_lock_branch

This commit is contained in:
Arjun Rao 2025-05-09 04:30:06 +10:00
commit fded7bb4c7

View file

@ -54,7 +54,7 @@ class PostgreSQLDB:
self.password = config.get("password", None)
self.database = config.get("database", "postgres")
self.workspace = config.get("workspace", "default")
self.max = config.get("max_connections", 12)
self.max = int(config.get("max_connections", 12))
self.increment = 1
self.pool: Pool | None = None