Skip to content

Commit 5901ab3

Browse files
committed
fix: retrynum-1
1 parent 18b4684 commit 5901ab3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

common/bizflow/graph.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ func (g *Graph) Run(ctx context.Context) error {
9090
g.tryStop(it)
9191
case RetryableError:
9292
if it.retryNum > 0 {
93+
it.retryNum -= 1
9394
g.e.workPool.Submit(func() { g.work(it) })
9495
}
9596
case NonRetryable:

0 commit comments

Comments
 (0)