diff options
author | Julian Andres Klode <julian.klode@canonical.com> | 2021-07-28 12:43:56 +0200 |
---|---|---|
committer | Julian Andres Klode <julian.klode@canonical.com> | 2021-07-28 13:08:35 +0200 |
commit | 4001af8920389e2bb2672b673b181c4e92515872 (patch) | |
tree | 67c71f916fa5f248761ae2799a941fe67e5ce5c4 /doc | |
parent | 51ee79e385d8ccb2f32195cc01f3f9c943197603 (diff) |
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.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/examples/configure-index | 5 |
1 files changed, 4 insertions, 1 deletions
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 "<STRING>"; // host or access Retries "<INT>" { - Delay "<BOOL>"; // whether to backoff between retries using the delay: method + Delay "<BOOL>" { // whether to backoff between retries using the delay: method + Maximum "<INT>"; // maximum number of seconds to delay an item per retry + }; }; Source-Symlinks "<BOOL>"; ForceHash "<STRING>"; // hashmethod used for expected hash: sha256, sha1 or md5sum @@ -557,6 +559,7 @@ Debug Acquire::cdrom "<BOOL>"; // Show cdrom debug output Acquire::Transaction "<BOOL>"; Acquire::Progress "<BOOL>"; + Acquire::Retries "<BOOL>"; // Debugging for retries, especially delays aptcdrom "<BOOL>"; // Show found package files IdentCdrom "<BOOL>"; acquire::netrc "<BOOL>"; // netrc parser |