Skip to content

Commit

Permalink
Increase the max supported stack depth to 128 (#159)
Browse files Browse the repository at this point in the history
Signed-off-by: Francesco Vigliaturo <francesco.vigliaturo@sentry.io>

Signed-off-by: Francesco Vigliaturo <francesco.vigliaturo@sentry.io>
  • Loading branch information
viglia authored Aug 22, 2022
1 parent a623dab commit 84109e9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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 84109e9

Please sign in to comment.