Skip to content

Commit

Permalink
reduce log noise
Browse files Browse the repository at this point in the history
  • Loading branch information
hiroshihorie committed Feb 6, 2024
1 parent 184ddcd commit b708b87
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/LiveKit/Core/SignalClient.swift
Original file line number Diff line number Diff line change
Expand Up @@ -587,7 +587,7 @@ extension SignalClient {
private extension SignalClient {
func _onPingIntervalTimer() async throws {
guard let jr = _lastJoinResponse else { return }
log("ping/pong sending ping...")
log("ping/pong sending ping...", .trace)
try await _sendPing()

await _pingTimeoutTimer.setTimerInterval(TimeInterval(jr.pingTimeout))
Expand All @@ -601,7 +601,7 @@ private extension SignalClient {
}

func _onReceivedPong(_: Int64) async {
log("ping/pong received pong from server")
log("ping/pong received pong from server", .trace)
// Clear timeout timer
await _pingTimeoutTimer.cancel()
}
Expand Down

0 comments on commit b708b87

Please sign in to comment.