From 75b9adeac6f1b9c1de92362628eb5712d25633b0 Mon Sep 17 00:00:00 2001 From: Wassim DHIF Date: Fri, 20 Dec 2024 10:51:13 +0100 Subject: [PATCH] fix(tagger): reduce GenerateContainerIDFromOriginInfo backoff.InitialInterval Signed-off-by: Wassim DHIF --- comp/core/tagger/impl-remote/remote.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/comp/core/tagger/impl-remote/remote.go b/comp/core/tagger/impl-remote/remote.go index c1cdfd2953652..d31ce94945ef2 100644 --- a/comp/core/tagger/impl-remote/remote.go +++ b/comp/core/tagger/impl-remote/remote.go @@ -285,7 +285,7 @@ func (t *remoteTagger) GenerateContainerIDFromOriginInfo(originInfo origindetect cachedContainerID, err := cache.GetWithExpiration(key, func() (containerID string, err error) { expBackoff := backoff.NewExponentialBackOff() - expBackoff.InitialInterval = 500 * time.Millisecond + expBackoff.InitialInterval = 200 * time.Millisecond expBackoff.MaxInterval = 1 * time.Second expBackoff.MaxElapsedTime = 15 * time.Second