-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: disable lock_event tracing to fix tests leak
The tracing-tests crate provides the #[traced_test] macro. When used, log data gets written to a global static buffer. See: https://docs.rs/tracing-test/latest/tracing_test/ This was causing a huge mem leak, eg 6.5Gb+. We may wish to re-evaluate use of #[traced_test], but for now disabling lock_event tracing cures most of the leak. Anyway, this tracing is very verbose and not usually needed. we can easily re-enable if we need to debug a deadlock.
- Loading branch information
Showing
1 changed file
with
76 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters