🔧(backend) allow to configure psycopg pool timeout

We want to allow the configuration of the psycopg pool timeout.
For this we created a new setting DB_PSYCOPG_POOL_TIMEOUT
This commit is contained in:
Manuel Raynaud
2026-03-16 15:30:23 +01:00
parent 32b2641fd8
commit 04c9dc3294
2 changed files with 6 additions and 0 deletions
+5
View File
@@ -110,6 +110,11 @@ class Base(Configuration):
environ_name="DB_PSYCOPG_POOL_MAX_SIZE",
environ_prefix=None,
),
"timeout": values.IntegerValue(
3,
environ_name="DB_PSYCOPG_POOL_TIMEOUT",
environ_prefix=None,
),
}
},
}