Skip to content

Commit 193b1ba

Browse files
committed
Comments
1 parent d66675e commit 193b1ba

File tree

1 file changed

+8
-11
lines changed

1 file changed

+8
-11
lines changed

FirebaseRemoteConfig/SwiftNew/ConfigSettings.swift

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -127,9 +127,8 @@ let RCNHTTPDefaultConnectionTimeout: TimeInterval = 60
127127
/// service.
128128
@objc public var realtimeExponentialBackoffRetryInterval: Double
129129

130-
/// Returns the time in seconds until the next request is allowed while in exponential backoff
131-
/// mode
132-
/// for the Realtime service.
130+
/// Returns the time in seconds until the next request is allowed while in
131+
/// exponential backoff mode for the Realtime service.
133132
public var realtimeExponentialBackoffThrottleEndTime: TimeInterval
134133

135134
/// Realtime connection attempts.
@@ -269,10 +268,9 @@ let RCNHTTPDefaultConnectionTimeout: TimeInterval = 60
269268

270269
// MARK: - Update Database/Cache
271270

272-
/// If the last fetch was not successful, update the (exponential backoff) period that we wait
273-
/// until
274-
/// fetching again. Any subsequent fetch requests will be checked and allowed only if past this
275-
/// throttle end time.
271+
/// If the last fetch was not successful, update the (exponential backoff)
272+
/// period that we wait until fetching again. Any subsequent fetch requests
273+
/// will be checked and allowed only if past this throttle end time.
276274
@objc public func updateExponentialBackoffTime() {
277275
if _lastFetchStatus == .success {
278276
RCLog.debug("I-RCN000057", "Throttling: Entering exponential backoff mode.")
@@ -435,8 +433,8 @@ let RCNHTTPDefaultConnectionTimeout: TimeInterval = 60
435433

436434
/// Returns a fetch request with the latest device and config change.
437435
/// Whenever user issues a fetch api call, collect the latest request.
438-
/// @param userProperties User properties to set to config request.
439-
/// @return Config fetch request string
436+
/// - Parameter userPropxerties: User properties to set to config request.
437+
/// - Returns: Config fetch request string
440438
@objc public func nextRequest(withUserProperties userProperties: [String: Any]?) -> String {
441439
var request = "{"
442440
request += "app_instance_id:'\(configInstallationsIdentifier)'"
@@ -510,8 +508,7 @@ let RCNHTTPDefaultConnectionTimeout: TimeInterval = 60
510508

511509
/// Device conditions since last successful fetch from the backend. Device conditions including
512510
/// app version, iOS version, device localte, language, GMP project ID and Game project ID. Used
513-
/// for
514-
/// determing whether to throttle.
511+
/// for determing whether to throttle.
515512
@objc public var deviceContext: [String: Any] {
516513
_deviceContext
517514
}

0 commit comments

Comments
 (0)