Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
NixOS/nix.gc: Add optional randomized delay #98192
Add an optional randomized delay to automatic garbage collection.
Motivation for this change
When dealing with virtual machines on shared storage, spreading this workload out over time is desirable.
It exposes the functionality in a slightly more friendly/documented way, and would provide some stability in case the systemd unit changed names or something like that (although I don't see a reason why it would). I don't have a really a great way to tell how many people would use this. If it turned out to be only me, then yeah, I agree it wouldn't make sense.