Skip to content

Commit

Permalink
WIP: print new tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
sokra committed Aug 14, 2024
1 parent 5f89bce commit abf687e
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,14 @@ impl BackingStorage for LmdbBackingStorage {
.fetch_and(0, std::sync::atomic::Ordering::Relaxed),
restored_cache_entries
);
if restored_cache_entries > 0 {
for (i, (task_type, _)) in task_cache_updates.iter().enumerate() {
println!("New Task: {task_type:?}");
if i > 10 {
break;
}
}
}
println!(
"Persisting {} operations, {} task cache updates, {} data updates...",
operations.len(),
Expand Down

0 comments on commit abf687e

Please sign in to comment.