edolstra / nix-serve

A standalone Nix binary cache server
GNU Lesser General Public License v2.1
174 stars 37 forks source link

Specify priority via NIX_SERVE_PRIORITY #46

Open e1mo opened 1 year ago

e1mo commented 1 year ago

Close #19

I'm not sure if the handling of non-numeric values is the best possible choice here. Other ideas were to check it at startup to have a failing process and thus failing systemd unit (⇒ Monitoring will usually notice). Or a warning could be logged with a fallback to 30 as the default.