Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to halt progress when rate limited #76

Open
FRidh opened this issue Jul 30, 2024 · 2 comments
Open

Option to halt progress when rate limited #76

FRidh opened this issue Jul 30, 2024 · 2 comments

Comments

@FRidh
Copy link

FRidh commented Jul 30, 2024

When rate-limited Nix continues building from source instead, as described also in https://github.com/DeterminateSystems/magic-nix-cache-action?tab=readme-ov-file#usage-notes. Is it feasible to halt when this occurs, and then continue after 60 seconds? In this case building from source takes far more time than having to wait once (or more).

Related to #29

@dbarrosop
Copy link

Yes, current behaviour is a bit unfortunate, specially as it "hards disable" the store which means you can't attempt to copy results that may not be cached automatically (like the check derivation).

@DaRacci
Copy link

DaRacci commented Dec 9, 2024

This sounds like a very solid idea, though id imagine it may be a bit hard to implement due to nix probably wanting to timeout a download thats doing nothing but I'm not sure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants