From 629dee358ea0879ae42a026dae6aacc41cb8042a Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sun, 20 Aug 2017 14:42:47 +0200 Subject: Add support for controller request retries, connection timeout --- bbot/bbot-agent@.service | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'bbot/bbot-agent@.service') diff --git a/bbot/bbot-agent@.service b/bbot/bbot-agent@.service index 41486e2..3f41abc 100644 --- a/bbot/bbot-agent@.service +++ b/bbot/bbot-agent@.service @@ -14,9 +14,13 @@ Environment=RAM=1048576 Environment=BOOTSTRAP_TIMEOUT=900 Environment=BOOTSTRAP_RETRIES=2 + Environment=BUILD_TIMEOUT=1800 Environment=BUILD_RETRIES=2 + +Environment=CONNECT_TIMEOUT=60 Environment=REQUEST_TIMEOUT=300 +Environment=REQUEST_RETRIES=4 Environment=TOOLCHAIN_NAME=%i Environment=TOOLCHAIN_NUM=1 @@ -35,7 +39,9 @@ ExecStart=/build/bots/%i/bin/bbot-agent --systemd-daemon \ --bootstrap-retries ${BOOTSTRAP_RETRIES} \ --build-timeout ${BUILD_TIMEOUT} \ --build-retries ${BUILD_RETRIES} \ + --connect-timeout ${CONNECT_TIMEOUT} \ --request-timeout ${REQUEST_TIMEOUT} \ + --request-retries ${REQUEST_RETRIES} \ --toolchain-name ${TOOLCHAIN_NAME} \ --toolchain-num ${TOOLCHAIN_NUM} \ --toolchain-ver ${TOOLCHAIN_VER} \ -- cgit v1.1