tvl-depot/tools/nixery/server
Vincent Ambo 32b9b5099e feat(server): Add configuration option for Nix build timeouts
Adds a NIX_TIMEOUT environment variable which can be set to a number
of seconds that is the maximum allowed time each Nix builder can run.

By default this is set to 60 seconds, which should be plenty for most
use-cases as Nixery is not expected to be performing builds of
uncached binaries in most production cases.

Currently the errors Nix throws on a build timeout are not separated
from other types of errors, meaning that users will see a generic 500
server error in case of a timeout.

This fixes #47
2019-09-02 23:44:57 +01:00
..
builder feat(server): Add configuration option for Nix build timeouts 2019-09-02 23:44:57 +01:00
config feat(server): Add configuration option for Nix build timeouts 2019-09-02 23:44:57 +01:00
default.nix chore(server): Add 'go vet' to build process 2019-08-14 20:18:41 +01:00
go-deps.nix refactor: Move registry server to a subfolder 2019-08-14 00:02:04 +01:00
main.go fix(server): Print correct project name during startup 2019-08-14 20:18:41 +01:00