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 4618739cb3
commit af75d59b4c
+1 -1
View File
@@ -3061,7 +3061,7 @@ impl Timeline {
}
}
// All wanted layers are taken in account by time_for_new_image_layer.
// The watend_image_layers could get updated out of turn and we could
// The wanted_image_layers could get updated out of turn and we could
// clear something which hasn't been looked at all. This is fine, because
// next gc round any wanted would get added back in.
*self.wanted_image_layers.lock().unwrap() = None;