mirror of
https://github.com/HKUDS/LightRAG.git
synced 2025-12-04 10:58:53 +00:00
bugfix: convert config val to int
This commit is contained in:
parent
f2c522ce7a
commit
6ebd76d5da
@ -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…
x
Reference in New Issue
Block a user