File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
FirebaseRemoteConfig/SwiftNew Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -179,7 +179,6 @@ let RCNHTTPDefaultConnectionTimeout: TimeInterval = 60
179179 . currentRealtimeThrottlingRetryIntervalSeconds
180180 realtimeRetryCount = _userDefaultsManager. realtimeRetryCount
181181
182- // Swift implementation specific.
183182 _lastFetchError = RemoteConfigError ( . unknown)
184183 exponentialBackoffRetryInterval = 0
185184 _fetchTimeout = 0
@@ -588,6 +587,6 @@ let RCNHTTPDefaultConnectionTimeout: TimeInterval = 60
588587 @objc public func shouldThrottle( ) -> Bool {
589588 let now = Date ( ) . timeIntervalSince1970
590589 return lastFetchTimeInterval > 0 && lastFetchStatus != . success &&
591- ( exponentialBackoffThrottleEndTime ?? 0 ) - now > 0
590+ exponentialBackoffThrottleEndTime - now > 0
592591 }
593592}
You can’t perform that action at this time.
0 commit comments