Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
marandaneto committed Jul 25, 2023
1 parent c324b02 commit 2793a8b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion flutter/lib/src/sentry_flutter_options.dart
Original file line number Diff line number Diff line change
Expand Up @@ -195,14 +195,15 @@ class SentryFlutterOptions extends SentryOptions {
bool attachViewHierarchy = false;

/// When enabled, the SDK tracks when the application stops responding for a
/// specific amount of time.
/// specific amount of time, See [appHangTimeoutInterval].
/// Only available on iOS and macOS.
bool enableAppHangTracking = true;

/// The minimum amount of time an app should be unresponsive to be classified
/// as an App Hanging. The actual amount may be a little longer. Avoid using
/// values lower than 100ms, which may cause a lot of app hangs events being
/// transmitted.
/// Default to 2s.
/// Only available on iOS and macOS.
Duration appHangTimeoutInterval = Duration(seconds: 2);

Expand Down

0 comments on commit 2793a8b

Please sign in to comment.