From 121ccd0e0c2612bab9ba5383d5599b54e29e4643 Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Thu, 8 Jul 2021 16:49:20 +0200 Subject: Implement exponential delay between retries Add a new Item field called FetchAfter, which determines the earliest time the item should be fetched at. Adjust insertion into queue to take it into account alongside priority, and only fill pipelines with items that are ready. --- doc/examples/configure-index | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'doc/examples') diff --git a/doc/examples/configure-index b/doc/examples/configure-index index 312ee27d6..e74ebc3d7 100644 --- a/doc/examples/configure-index +++ b/doc/examples/configure-index @@ -230,7 +230,9 @@ APT Acquire { Queue-Mode ""; // host or access - Retries ""; + Retries "" { + Delay ""; // whether to backoff between retries using the delay: method + }; Source-Symlinks ""; ForceHash ""; // hashmethod used for expected hash: sha256, sha1 or md5sum Send-URI-Encoded ""; // false does the old encode/decode dance even if we could avoid it -- cgit v1.2.3-70-g09d2