File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -89,6 +89,7 @@ interface tenantDBInterface {
8989 anon_key : string
9090 database_url : string
9191 database_pool_url ?: string
92+ database_pool_mode ?: string
9293 max_connections ?: number
9394 jwt_secret : string
9495 jwks : { keys ?: JwksConfigKey [ ] } | null
@@ -356,6 +357,7 @@ export default async function routes(fastify: FastifyInstance) {
356357 serviceKey,
357358 features,
358359 databasePoolUrl,
360+ databasePoolMode,
359361 maxConnections,
360362 tracingMode,
361363 } = request . body
@@ -401,6 +403,10 @@ export default async function routes(fastify: FastifyInstance) {
401403 tenantInfo . max_connections = Number ( maxConnections )
402404 }
403405
406+ if ( databasePoolMode ) {
407+ tenantInfo . database_pool_mode = databasePoolMode
408+ }
409+
404410 if ( tracingMode ) {
405411 tenantInfo . tracing_mode = tracingMode
406412 }
You can’t perform that action at this time.
0 commit comments