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 {
89
89
anon_key : string
90
90
database_url : string
91
91
database_pool_url ?: string
92
+ database_pool_mode ?: string
92
93
max_connections ?: number
93
94
jwt_secret : string
94
95
jwks : { keys ?: JwksConfigKey [ ] } | null
@@ -356,6 +357,7 @@ export default async function routes(fastify: FastifyInstance) {
356
357
serviceKey,
357
358
features,
358
359
databasePoolUrl,
360
+ databasePoolMode,
359
361
maxConnections,
360
362
tracingMode,
361
363
} = request . body
@@ -401,6 +403,10 @@ export default async function routes(fastify: FastifyInstance) {
401
403
tenantInfo . max_connections = Number ( maxConnections )
402
404
}
403
405
406
+ if ( databasePoolMode ) {
407
+ tenantInfo . database_pool_mode = databasePoolMode
408
+ }
409
+
404
410
if ( tracingMode ) {
405
411
tenantInfo . tracing_mode = tracingMode
406
412
}
You can’t perform that action at this time.
0 commit comments