You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Sources/ODP/OptimizelySdkSettings.swift
+10
Original file line number
Diff line number
Diff line change
@@ -21,6 +21,10 @@ public struct OptimizelySdkSettings {
21
21
letsegmentsCacheSize:Int
22
22
/// The timeout in seconds of audience segments cache - timeout is disabled if this is set to zero.
23
23
letsegmentsCacheTimeoutInSecs:Int
24
+
/// The timeout in seconds of odp segment fetch - OS default timeout will be used if this is set to zero.
25
+
lettimeoutForSegmentFetchInSecs:Int
26
+
/// The timeout in seconds of odp event dispatch - OS default timeout will be used if this is set to zero.
27
+
lettimeoutForOdpEventInSecs:Int
24
28
/// ODP features are disabled if this is set to true.
25
29
letdisableOdp:Bool
26
30
@@ -29,12 +33,18 @@ public struct OptimizelySdkSettings {
29
33
/// - Parameters:
30
34
/// - segmentsCacheSize: The maximum size of audience segments cache (optional. default = 100). Set to zero to disable caching.
31
35
/// - segmentsCacheTimeoutInSecs: The timeout in seconds of audience segments cache (optional. default = 600). Set to zero to disable timeout.
36
+
/// - timeoutForSegmentFetchInSecs: The timeout in seconds of odp segment fetch (optional. default = 10) - OS default timeout will be used if this is set to zero.
37
+
/// - timeoutForOdpEventInSecs: The timeout in seconds of odp event dispatch (optional. default = 10) - OS default timeout will be used if this is set to zero.
32
38
/// - disableOdp: Set this flag to true (default = false) to disable ODP features
0 commit comments