You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 24, 2026. It is now read-only.
Copy file name to clipboardExpand all lines: frameworks/Kotlin/vertx-web-kotlinx/with-db/exposed-r2dbc/src/main/kotlin/database/ExposedDatabaseR2dbc.kt
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -10,17 +10,17 @@ fun r2dbcDatabaseConnectPoolOriginal(connectionPoolSize: Int) =
// Optimized configuration with TCP settings and connection validation
12
-
val connectionFactoryOptimized:ConnectionFactory=PostgresqlConnectionFactory(
11
+
// Alternative configurations copied from the `ktor-r2dbc` portion. These configurations don't lead to better performance as tested in Continuous Benchmarking.
12
+
13
+
val connectionFactoryKtorR2dbc:ConnectionFactory=PostgresqlConnectionFactory(
13
14
PostgresqlConnectionConfiguration.builder()
14
15
.host(HOST)
15
16
.port(5432)
@@ -22,14 +23,13 @@ val connectionFactoryOptimized: ConnectionFactory = PostgresqlConnectionFactory(
0 commit comments