Skip to content

Commit

Permalink
add persist trace
Browse files Browse the repository at this point in the history
  • Loading branch information
sokra committed Sep 4, 2024
1 parent e0d80e4 commit 1f5cd45
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ impl BackingStorage for LmdbBackingStorage {
get(self).unwrap_or_default()
}

#[tracing::instrument(level = "trace", skip_all, fields(operations = operations.len(), task_cache_updates = task_cache_updates.len(), data_updates = data_updates.len()))]
fn save_snapshot(
&self,
operations: Vec<Arc<AnyOperation>>,
Expand Down

0 comments on commit 1f5cd45

Please sign in to comment.