From ec28950fe050045f71216b89ae3b0fcb607c9a96 Mon Sep 17 00:00:00 2001 From: Jenna Goldstrich Date: Thu, 15 Jul 2021 20:49:23 +0000 Subject: [PATCH] Made change to log-cache to slow down amount of times CLI pings for logs Co-authored-by: Juan Diego Gonzalez --- actor/sharedaction/logging.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/actor/sharedaction/logging.go b/actor/sharedaction/logging.go index 29226154729..1299a4f0dfb 100644 --- a/actor/sharedaction/logging.go +++ b/actor/sharedaction/logging.go @@ -160,7 +160,7 @@ func GetStreamingLogs(appGUID string, client LogCacheClient) (<-chan LogMessage, logcache.WithWalkDelay(2*time.Second), logcache.WithWalkStartTime(walkStartTime), logcache.WithWalkEnvelopeTypes(logcache_v1.EnvelopeType_LOG), - logcache.WithWalkBackoff(newCliRetryBackoff(retryInterval, retryCount)), + logcache.WithWalkBackoff(logcache.NewAlwaysRetryBackoff(250*time.Millisecond)), logcache.WithWalkLogger(log.New(channelWriter{ errChannel: outgoingErrStream, }, "", 0)),