Skip to content

Commit

Permalink
fix(tagger): reduce GenerateContainerIDFromOriginInfo backoff.Initial…
Browse files Browse the repository at this point in the history
…Interval

Signed-off-by: Wassim DHIF <[email protected]>
  • Loading branch information
wdhif committed Dec 20, 2024
1 parent 1a2a499 commit 75b9ade
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion comp/core/tagger/impl-remote/remote.go
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 75b9ade

Please sign in to comment.