From 4001af8920389e2bb2672b673b181c4e92515872 Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Wed, 28 Jul 2021 12:43:56 +0200 Subject: Add support for a maximum delay and testing of delay This is very basic support on the testing side, we just test the debug output but not how long it actually took. Would be nice to check time really. --- doc/examples/configure-index | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'doc/examples') diff --git a/doc/examples/configure-index b/doc/examples/configure-index index e74ebc3d7..4eca100f5 100644 --- a/doc/examples/configure-index +++ b/doc/examples/configure-index @@ -231,7 +231,9 @@ Acquire { Queue-Mode ""; // host or access Retries "" { - Delay ""; // whether to backoff between retries using the delay: method + Delay "" { // whether to backoff between retries using the delay: method + Maximum ""; // maximum number of seconds to delay an item per retry + }; }; Source-Symlinks ""; ForceHash ""; // hashmethod used for expected hash: sha256, sha1 or md5sum @@ -557,6 +559,7 @@ Debug Acquire::cdrom ""; // Show cdrom debug output Acquire::Transaction ""; Acquire::Progress ""; + Acquire::Retries ""; // Debugging for retries, especially delays aptcdrom ""; // Show found package files IdentCdrom ""; acquire::netrc ""; // netrc parser -- cgit v1.2.3-70-g09d2