forked from lix-project/hydra
6a54ab24e2
For the record, here is the Nix 2.19 version: https://github.com/NixOS/nix/blob/2.19-maintenance/src/libstore/serve-protocol.cc, which is what we would initially use. It is a more complete version of what Hydra has today except for one thing: it always unconditionally sets the start/stop times. I think that is correct at the other end seems to unconditionally measure them, but just to be extra careful, I reproduced the old behavior of falling back on Hydra's own measurements if `startTime` is 0. The only difference is that the fallback `stopTime` is now measured from after the entire `BuildResult` is transferred over the wire, but I think that should be negligible if it is measurable at all. (And remember, this is fallback case I already suspect is dead code.) |
||
---|---|---|
.. | ||
hydra-eval-jobs | ||
hydra-evaluator | ||
hydra-queue-runner | ||
lib | ||
libhydra | ||
root | ||
script | ||
sql | ||
ttf | ||
Makefile.am | ||
Makefile.PL |