From f9ae2cbac61be6c752f9312e05519fe495f2a5b9 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 21 Sep 2020 12:41:38 +0200 Subject: Tweak TFTP parameters some more In particular, it doesn't really make sense to have a put timeout since its expiration cannot be observed from outside. So now we use the default (1h). --- bbot/worker/worker.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bbot/worker/worker.cxx b/bbot/worker/worker.cxx index ade9060..178b49e 100644 --- a/bbot/worker/worker.cxx +++ b/bbot/worker/worker.cxx @@ -52,10 +52,10 @@ 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_put_timeout (100); // 100 seconds. - const size_t tftp_get_timeout (10); // 10 seconds. - const size_t tftp_get_retries (3); // Task request retries (see startup()). + const size_t tftp_blksize (65464); // 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()). } static dir_path -- cgit v1.1