aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2020-09-21 12:41:38 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2020-09-21 12:41:38 +0200
commitf9ae2cbac61be6c752f9312e05519fe495f2a5b9 (patch)
tree0cbc6e90f9ecf7d120ecd0c42af9f151d3ea4ea8
parent81564e819135be41c2634841bf48ce88b79731a0 (diff)
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).
-rw-r--r--bbot/worker/worker.cxx8
1 files 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