Skip to content

Commit dd84d46

Browse files
committed
fix(realtime): Set default heartbeat interval to 25s
1 parent 8a119a4 commit dd84d46

File tree

2 files changed

+15
-15
lines changed

2 files changed

+15
-15
lines changed

Sources/Realtime/Types.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public struct RealtimeClientOptions: Sendable {
2525
package var accessToken: (@Sendable () async throws -> String?)?
2626
package var logger: (any SupabaseLogger)?
2727

28-
public static let defaultHeartbeatInterval: TimeInterval = 15
28+
public static let defaultHeartbeatInterval: TimeInterval = 25
2929
public static let defaultReconnectDelay: TimeInterval = 7
3030
public static let defaultTimeoutInterval: TimeInterval = 10
3131
public static let defaultDisconnectOnSessionLoss = true

Supabase.xcworkspace/xcshareddata/swiftpm/Package.resolved

Lines changed: 14 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)