aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2020-09-21 12:41:38 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2020-10-27 15:49:45 +0200
commit34f98d72fadf449245515a95afd6c97819207baa (patch)
tree16612404a1c525248c9f95c6f97100ff1500da16
parent2f2131fa0e65553fa1313bee2b8e0f35b43af3d9 (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 b96dfeb..bca9646 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