Skip to content

Commit

Permalink
Increase the max supported stack depth to 128
Browse files Browse the repository at this point in the history
Signed-off-by: Francesco Vigliaturo <francesco.vigliaturo@sentry.io>
  • Loading branch information
viglia committed Aug 22, 2022
1 parent a623dab commit f416238
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Expand Up @@ -6,6 +6,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

- Update `MAX_DEPTH` to 128

## [0.10.0] - 2022-06-27

### Changed
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Expand Up @@ -40,7 +40,7 @@
//! [README.md](https://github.com/tikv/pprof-rs/blob/master/README.md)

/// Define the MAX supported stack depth. TODO: make this variable mutable.
pub const MAX_DEPTH: usize = 32;
pub const MAX_DEPTH: usize = 128;

/// Define the MAX supported thread name length. TODO: make this variable mutable.
pub const MAX_THREAD_NAME: usize = 16;
Expand Down

0 comments on commit f416238

Please sign in to comment.