diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2020-09-30 11:04:12 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2020-09-30 11:04:12 +0200 |
commit | 1bffc2c1c23a98661778a50da3fc25a44b1030dd (patch) | |
tree | 551e2e3bdae4cd467365332a388c1fb17861ba40 | |
parent | 5cff484b1d4598172c375cb42cb104522d1e0347 (diff) |
Tweak TFTP parameters some more, this time including server
-rw-r--r-- | bbot/agent/tftp.cxx | 1 | ||||
-rw-r--r-- | bbot/worker/worker.cxx | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/bbot/agent/tftp.cxx b/bbot/agent/tftp.cxx index 80c626b..0df0d1b 100644 --- a/bbot/agent/tftp.cxx +++ b/bbot/agent/tftp.cxx @@ -116,6 +116,7 @@ namespace bbot 2, "sudo", // Required for --secure (chroot). "/usr/sbin/in.tftpd", // Standard installation location. + "--verbosity", 1, // Verbosity level. "--timeout", 1, // Wait for more requests. "--permissive", // Use inherited umask. "--create", // Allow creating new files (PUT). diff --git a/bbot/worker/worker.cxx b/bbot/worker/worker.cxx index 3205fd9..9204d55 100644 --- a/bbot/worker/worker.cxx +++ b/bbot/worker/worker.cxx @@ -52,7 +52,7 @@ namespace bbot // Note that upload can be quite large and take a while to upload under high // load. // - const size_t tftp_blksize (1024); // Between 512 (default) and 65464. + const size_t tftp_blksize (1468); // Between 512 (default) and 65464. const size_t tftp_put_timeout (3600); // 1 hour (also the default). const size_t tftp_get_timeout (10); // 10 seconds. const size_t tftp_get_retries (3); // Task request retries (see startup()). |