remove retries in trigger service (#454)

This commit is contained in:
Vistaar Juneja 2023-09-13 11:59:22 +00:00 committed by Harness
parent 3bc56a1814
commit 07997b6deb

View File

@ -113,7 +113,8 @@ func New(
stream.WithConcurrency(config.Concurrency),
stream.WithHandlerOptions(
stream.WithIdleTimeout(idleTimeout),
stream.WithMaxRetries(config.MaxRetries),
// retries not needed for builds which failed to trigger, can be adjusted when needed
stream.WithMaxRetries(0),
))
_ = r.RegisterCreated(service.handleEventPullReqCreated)