diff --git a/Sources/Sentry/SentryOptions.m b/Sources/Sentry/SentryOptions.m index dd66ff125d2..b27fef1cbee 100644 --- a/Sources/Sentry/SentryOptions.m +++ b/Sources/Sentry/SentryOptions.m @@ -18,6 +18,7 @@ #import "SentrySessionReplayIntegration.h" #import "SentrySwift.h" #import "SentrySwiftAsyncIntegration.h" +#import "SentryTracer.h" #import #if SENTRY_HAS_UIKIT @@ -114,7 +115,7 @@ - (instancetype)init self.attachScreenshot = NO; self.attachViewHierarchy = NO; self.enableUserInteractionTracing = YES; - self.idleTimeout = 3.0; + self.idleTimeout = SentryTracerDefaultTimeout; self.enablePreWarmedAppStartTracing = NO; #endif // SENTRY_HAS_UIKIT self.enableAppHangTracking = YES;