fix: suggestions commited from GitHub web didn't compile

This commit is contained in:
Christian Schwarz
2023-03-29 10:55:57 +02:00
parent 83813f2cb1
commit 57d215e6bb

View File

@@ -556,14 +556,14 @@ async fn collect_eviction_candidates(
let min_resident_size = if let Some(s) = tenant.get_min_resident_size_override() {
debug!(
tenant_id=%tenant.tenant_id(),
override=s,
overriden_size=s,
"using overridden min resident size for tenant"
);
s
} else {
debug!(
tenant_id=%tenant.tenant_id(),
max_layer_size,
max_layer_size,
"using max layer size as min_resident_size for tenant",
);
max_layer_size