bugfix: convert config val to int
This commit is contained in:
parent
f2c522ce7a
commit
6ebd76d5da
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue