Skip to content

Commit

Permalink
fix: fix
Browse files Browse the repository at this point in the history
  • Loading branch information
gulivero1773 committed Jun 5, 2024
1 parent 4e407dc commit e8493bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/HealthChecks/MongoHealthChecks/MongoRequest.swift
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public final class MongoRequest: MongoRequestSendable {
/// - Parameter url: `String`
/// - Returns: `String`
public func getConnection(by url: String) async throws -> String {
let connect = try await app.client.get(URI(string: url))
let connect = try await app.client.get(URI(string: url + "?compressors=disabled&gssapiServiceName=mongodb"))
// await app.mongoCluster?.disconnect()
// app.mongoCluster = nil
// app.mongoCluster = try? MongoCluster(lazyConnectingTo: ConnectionSettings(url))
Expand Down

0 comments on commit e8493bd

Please sign in to comment.