We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d75533d commit bbacbaeCopy full SHA for bbacbae
Sources/PostgreSQL/Database/PostgreSQLDatabase.swift
@@ -14,8 +14,7 @@ public final class PostgreSQLDatabase: Database {
14
/// Creates a new `PostgreSQLDatabase`.
15
public init(config: PostgreSQLDatabaseConfig) {
16
self.config = config
17
- let group = MultiThreadedEventLoopGroup(numThreads: 1)
18
- self.tableNameCache = PostgreSQLTableNameCache(connection: makeConnection(on: group))
+ self.tableNameCache = PostgreSQLTableNameCache(connection: makeConnection(on: EmbeddedEventLoop()))
19
}
20
21
/// See `Database.makeConnection()`
0 commit comments