change generation

This commit is contained in:
Louis Dureuil 2024-06-17 16:41:31 +02:00
parent 497d15685c
commit e644aa07a9
No known key found for this signature in database

View File

@ -473,6 +473,7 @@ async fn document_addition(
}; };
let scheduler = index_scheduler.clone(); let scheduler = index_scheduler.clone();
ALLOC.next_generation();
for (address, entry) in ALLOC.find_older_generations(5) { for (address, entry) in ALLOC.find_older_generations(5) {
println!( println!(
"Found allocation older than 5 generations: {address:p} in generation {}. Span trace", "Found allocation older than 5 generations: {address:p} in generation {}. Span trace",