Update pageserver/src/tenant/timeline.rs

Co-authored-by: Joonas Koivunen <joonas@neon.tech>
This commit is contained in:
Konstantin Knizhnik
2023-05-16 21:18:20 +03:00
co-authored by Joonas Koivunen
parent e069c409ef
commit e8066631a6
+1 -1
View File
@@ -3045,7 +3045,7 @@ impl Timeline {
image_layers.push(image_layer);
}
}
// All wanted layers are taken in account
// All wanted layers are taken in account by time_for_new_image_layer
*self.wanted_image_layers.lock().unwrap() = None;
// Sync the new layer to disk before adding it to the layer map, to make sure