From ce52581498c26e1aaecb5087725727d804cdfe7c Mon Sep 17 00:00:00 2001 From: Di Wu Date: Fri, 23 Aug 2024 10:17:10 -0700 Subject: [PATCH] remove internal modifier --- .../AppSyncRealTimeClient/AppSyncRealTimeClient.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AmplifyPlugins/API/Sources/AWSAPIPlugin/AppSyncRealTimeClient/AppSyncRealTimeClient.swift b/AmplifyPlugins/API/Sources/AWSAPIPlugin/AppSyncRealTimeClient/AppSyncRealTimeClient.swift index ff48c23e9b..7f3d75abbc 100644 --- a/AmplifyPlugins/API/Sources/AWSAPIPlugin/AppSyncRealTimeClient/AppSyncRealTimeClient.swift +++ b/AmplifyPlugins/API/Sources/AWSAPIPlugin/AppSyncRealTimeClient/AppSyncRealTimeClient.swift @@ -430,7 +430,7 @@ extension AppSyncRealTimeClient { } } - internal func monitorHeartBeats(_ connectionAck: JSONValue?) { + func monitorHeartBeats(_ connectionAck: JSONValue?) { let timeoutMs = connectionAck?.connectionTimeoutMs?.intValue ?? 0 log.debug("[AppSyncRealTimeClient] Starting heart beat monitor with interval \(timeoutMs) ms") let cancellable = heartBeats.eraseToAnyPublisher()