mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
perf: add POSTGRES_MAX_CONNECTIONS env.
This commit is contained in:
parent
4f4b64f2b1
commit
549df741fa
|
|
@ -111,7 +111,7 @@ class Config(dict):
|
|||
"ENGINE": self.get('DB_ENGINE'),
|
||||
"POOL_OPTIONS": {
|
||||
"POOL_SIZE": 20,
|
||||
"MAX_OVERFLOW": self.get('DB_MAX_OVERFLOW')
|
||||
"MAX_OVERFLOW": int(self.get('DB_MAX_OVERFLOW'))
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue