Skip to content

Commit 549df74

Browse files
perf: add POSTGRES_MAX_CONNECTIONS env.
1 parent 4f4b64f commit 549df74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/smartdoc/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ def get_db_setting(self) -> dict:
111111
"ENGINE": self.get('DB_ENGINE'),
112112
"POOL_OPTIONS": {
113113
"POOL_SIZE": 20,
114-
"MAX_OVERFLOW": self.get('DB_MAX_OVERFLOW')
114+
"MAX_OVERFLOW": int(self.get('DB_MAX_OVERFLOW'))
115115
}
116116
}
117117

0 commit comments

Comments
 (0)