Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make TLS.disable a let instead of a var #471

Merged
merged 1 commit into from
May 1, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Sources/PostgresNIO/Pool/PostgresClient.swift
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public final class PostgresClient: Sendable, ServiceLifecycle.Service {
}

/// Do not try to create a TLS connection to the server.
public static var disable: Self = Self.init(.disable)
public static let disable: Self = Self.init(.disable)

/// Try to create a TLS connection to the server. If the server supports TLS, create a TLS connection.
/// If the server does not support TLS, create an insecure connection.
Expand Down
Loading