diff --git a/CHANGELOG.md b/CHANGELOG.md index b21fa09b1b..63449cbc27 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## Unreleased + +### Fixes + +- ReactNativeTracingOptions maxTransactionDuration is in seconds ([#2469](https://github.com/getsentry/sentry-react-native/pull/2469)) + ## 4.3.0 ### Features diff --git a/src/js/tracing/reactnativetracing.ts b/src/js/tracing/reactnativetracing.ts index 4b006c85b5..44dcb03043 100644 --- a/src/js/tracing/reactnativetracing.ts +++ b/src/js/tracing/reactnativetracing.ts @@ -361,7 +361,7 @@ export class ReactNativeTracing implements Integration { hub as Hub, expandedContext, idleTimeout, - maxTransactionDuration, + maxTransactionDuration * 1000, // convert seconds to milliseconds true );