Skip to content

Commit

Permalink
Fix outdated readme and remove outdated experimental comments (#1383)
Browse files Browse the repository at this point in the history
  • Loading branch information
marandaneto authored Apr 6, 2023
1 parent ab7b7c9 commit b5fc830
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
6 changes: 0 additions & 6 deletions dart/lib/src/sentry_options.dart
Original file line number Diff line number Diff line change
Expand Up @@ -71,18 +71,12 @@ class SentryOptions {
}

/// Maximum number of spans that can be attached to single transaction.
///
/// The is an experimental feature. Use at your own risk.
int _maxSpans = 1000;

/// Returns the maximum number of spans that can be attached to single transaction.
///
/// The is an experimental feature. Use at your own risk.
int get maxSpans => _maxSpans;

/// Sets the maximum number of spans that can be attached to single transaction.
///
/// The is an experimental feature. Use at your own risk.
set maxSpans(int maxSpans) {
assert(maxSpans > 0);
_maxSpans = maxSpans;
Expand Down
2 changes: 0 additions & 2 deletions flutter/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,6 @@ runApp(

This adds performance tracing for all `AssetBundle` usages, where the `AssetBundle` is accessed with `DefaultAssetBunlde.of(context)`.
This includes all of Flutters internal access of `AssetBundle`s, like `Image.asset` for example.
Tracing for `AssetBundle.loadStructuredData()` is currently disabled.
It's hidden by the `enableStructuredDataTracing` flag and considered experimental. Using it could lead to bugs. We recognize the irony.

##### Tracking HTTP events

Expand Down

0 comments on commit b5fc830

Please sign in to comment.