Merge pull request #118 from DeterminateSystems/grahamc-patch-2

drop 429 notice
This commit is contained in:
Graham Christensen 2025-01-16 18:48:03 -05:00 committed by GitHub
commit a65ff39edd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -649,13 +649,6 @@ impl AtomicCircuitBreaker for AtomicBool {
} = e
{
tracing::info!("Disabling GitHub Actions Cache due to 429: Too Many Requests");
let title = "Magic Nix Cache was rate-limited by GitHub Actions.";
let msg = "\
Turn Magic Nix Cache into a cache for your whole team. \
Move beyond GitHub's limits, save time, and share builds outside CI with FlakeHub Cache. \
See: https://dtr.mn/github-cache-limits\
";
println!("::notice title={title}::{msg}");
self.store(true, Ordering::Relaxed);
callback();
}