mirror of
https://github.com/harness/drone.git
synced 2025-05-19 02:20:03 +08:00
remove retries in trigger service (#454)
This commit is contained in:
parent
3bc56a1814
commit
07997b6deb
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user