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
Block a user