comin icon indicating copy to clipboard operation
comin copied to clipboard

nix/module.nix: Start comin after the network comes up

Open jpds opened this issue 1 year ago • 2 comments

jpds avatar May 03 '24 00:05 jpds

If you add a local remote, comin could fetch new commit without having to rely on the network. Moreover, since comin polls periodically, i don't think it's an issue if it starts before the network: comin could fail on first iterations but then succeeds once the network it up.

So, i'm not in favor of adding such dependency.

What kind of issue did you encounter exactly?

nlewo avatar May 05 '24 08:05 nlewo

It started up very early in my boot sequence (way before networkd and unbound) - and thus failed a bunch of times on DNS requests.

Even with a local remote, users will probably still need network connectivity to pull down the sources/cache.

I might just override this locally on all my boxes.

jpds avatar May 05 '24 08:05 jpds