aboutsummaryrefslogtreecommitdiff
path: root/bbot/agent.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'bbot/agent.cxx')
-rw-r--r--bbot/agent.cxx10
1 files changed, 6 insertions, 4 deletions
diff --git a/bbot/agent.cxx b/bbot/agent.cxx
index 55d95ec..383653a 100644
--- a/bbot/agent.cxx
+++ b/bbot/agent.cxx
@@ -167,14 +167,16 @@ bootstrap_machine (const dir_path& md,
return nullopt;
};
- // The first request should be the toolchain download. Wait for up to 60
- // seconds for that to arrive. In a sense we use it as an indication
+ // The first request should be the toolchain download. Wait for up to 3
+ // minutes for that to arrive. In a sense we use it as an indication
// that the machine has booted and the bootstrap process has started.
+ // Why wait so long you may wonder? Well, we may be using a new MAC
+ // address and operating systems like Windows may need to digest that.
//
size_t to;
- const size_t startup_to (60);
+ const size_t startup_to (3 * 60);
const size_t bootstrap_to (ops.bootstrap_timeout ());
- const size_t shutdown_to (60);
+ const size_t shutdown_to (3 * 60);
if (!tftpd.serve ((to = startup_to)))
return soft_fail ("bootstrap startup timeout");