@@ -76,7 +76,8 @@ class InstanaConfiguration {
7676 var trustDeviceTiming : Bool ?
7777 var enableW3CHeaders : Bool ?
7878 var deleteOldBeacons : Bool
79- var maxBeaconResendTries : Int = 3
79+ var maxBeaconResendTries : Int
80+ var timeoutInterval : TimeInterval
8081 var enableAppStateDetection : Bool ?
8182 var reporterSendDebounce : Instana . Types . Seconds
8283 var reporterSendLowBatteryDebounce : Instana . Types . Seconds
@@ -101,6 +102,7 @@ class InstanaConfiguration {
101102 enableW3CHeaders: Bool ? = nil ,
102103 deleteOldBeacons: Bool ,
103104 maxBeaconResendTries: Int ,
105+ timeoutInterval: TimeInterval ,
104106 hybridAgentId: String ? ,
105107 hybridAgentVersion: String ? ) {
106108 self . reportingURL = reportingURL
@@ -142,6 +144,7 @@ class InstanaConfiguration {
142144 self . enableW3CHeaders = enableW3CHeaders
143145 self . deleteOldBeacons = deleteOldBeacons
144146 self . maxBeaconResendTries = maxBeaconResendTries
147+ self . timeoutInterval = timeoutInterval
145148 configRateLimit ( rateLimits)
146149 }
147150
@@ -187,6 +190,7 @@ class InstanaConfiguration {
187190 enableW3CHeaders: Bool ? = nil ,
188191 deleteOldBeacons: Bool ,
189192 maxBeaconResendTries: Int ,
193+ timeoutInterval: TimeInterval ,
190194 hybridAgentId: String ? = nil ,
191195 hybridAgentVersion: String ? = nil )
192196 -> InstanaConfiguration {
@@ -201,6 +205,7 @@ class InstanaConfiguration {
201205 enableW3CHeaders: enableW3CHeaders,
202206 deleteOldBeacons: deleteOldBeacons,
203207 maxBeaconResendTries: maxBeaconResendTries,
208+ timeoutInterval: timeoutInterval,
204209 hybridAgentId: hybridAgentId,
205210 hybridAgentVersion: hybridAgentVersion)
206211 }
0 commit comments