diff --git a/SodaLive/Sources/Live/Room/LiveRoomViewModel.swift b/SodaLive/Sources/Live/Room/LiveRoomViewModel.swift index e2dbfca..6695a71 100644 --- a/SodaLive/Sources/Live/Room/LiveRoomViewModel.swift +++ b/SodaLive/Sources/Live/Room/LiveRoomViewModel.swift @@ -1810,8 +1810,9 @@ final class LiveRoomViewModel: NSObject, ObservableObject { private func startPeriodicPlaybackValidation() { let queue = DispatchQueue.global(qos: .background) + let period = DispatchTimeInterval.seconds(1800) periodicPlaybackTimer = DispatchSource.makeTimerSource(queue: queue) - periodicPlaybackTimer?.schedule(deadline: .now() + 1800, repeating: 1800) + periodicPlaybackTimer?.schedule(deadline: .now() + period, repeating: period) periodicPlaybackTimer?.setEventHandler { [weak self] in self?.trackEventLiveContinuousListen30() }