aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2020-09-21 13:47:47 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2020-10-27 15:49:45 +0200
commite301f8343bdb2f274f0eec9ca8b2af57c14ac5a7 (patch)
treec13e2c7ad013f70b2ee286fe91cb3299240540a0
parent34f98d72fadf449245515a95afd6c97819207baa (diff)
Revert TFTP block size increase
-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 bca9646..d5b9e20 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 (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()).
+ const size_t tftp_blksize (1024); // 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