Atomically claim pressure eviction budget in MR

This commit is contained in:
Aleksei K
2026-05-29 13:17:47 +03:00
parent a79aaee166
commit a77aedfd7a
5 changed files with 33 additions and 19 deletions

View File

@@ -38,10 +38,7 @@ fn format_maestro_line(message: impl AsRef<str>, colors_enabled: bool) -> String
pub(crate) fn print_maestro_line(message: impl AsRef<str>) {
eprintln!(
"{}",
format_maestro_line(
message,
MAESTRO_COLORS_ENABLED.load(Ordering::Relaxed)
)
format_maestro_line(message, MAESTRO_COLORS_ENABLED.load(Ordering::Relaxed))
);
}