diff options
author | Ludovic Courtès <ludo@gnu.org> | 2019-09-28 18:06:15 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2019-09-28 22:56:40 +0200 |
commit | ada9a19a2dca74feafcf24df1152abd685d4142f (patch) | |
tree | c27e60f1f5651dc6009aa2c8d9711c3944494712 /gnu | |
parent | a3af06ad65eb097ddaa9a6fab893e2b688734e04 (diff) | |
download | guix-ada9a19a2dca74feafcf24df1152abd685d4142f.tar.gz |
daemon: Strictly respect timeouts for 'guix offload'.
Until now it was up to 'guix offload' to honor timeouts. Unfortunately it would sometimes fail to do that, for example due to the libssh bug at <https://bugs.libssh.org/T33>. With this change, 'guix offload' is automatically killed by the daemon when one of the timeouts expires. Thus, data transfers performed by 'guix offload' now count as part of the timeouts, rather than just actual build time. * nix/libstore/build.cc (DerivationGoal::tryBuildHook): Pass true as the 'respectTimeouts' argument to 'childStarted'.
Diffstat (limited to 'gnu')
0 files changed, 0 insertions, 0 deletions