From 1bffc2c1c23a98661778a50da3fc25a44b1030dd Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 30 Sep 2020 11:04:12 +0200 Subject: Tweak TFTP parameters some more, this time including server --- bbot/agent/tftp.cxx | 1 + bbot/worker/worker.cxx | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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()). -- cgit v1.1