phase1: set rsync timeouts
authorThibaut VARÈNE <hacks@slashdirt.org>
Thu, 28 Jun 2018 10:22:52 +0000 (12:22 +0200)
committerJo-Philipp Wich <jo@mein.io>
Tue, 25 Sep 2018 13:13:15 +0000 (15:13 +0200)
commit72bdbbce337f7fb79242e5957066188edb63d0b8
tree55e8166b9b889c0fa9c5ae9a06192c887648b252
parent32466280f5842e78c4cd1d95990b9fdad4c25ae4
phase1: set rsync timeouts

Regardless of the timeout settings of buildbot or the use of 'pv' to
circumvent them, it is desirable to ensure that rsync will fail if the
connection hangs or cannot be established for any reason.

Otherwise, we might end up with builders stuck on network transfers.

This commit sets data transfer timeout to 120s and connection timeout
to 20s.

Signed-off-by: Thibaut VARÈNE <hacks@slashdirt.org>
phase1/master.cfg