Skip to content

Commit

Permalink
Merge pull request #190 from klim0v/klim0v-patch-1
Browse files Browse the repository at this point in the history
Fixed interruption of repetitions if the parent contact was not closed, unlike the one created next
  • Loading branch information
xssnick authored May 8, 2024
2 parents 511b0ea + 140ab4b commit e5de251
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions ton/retrier.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,14 @@ func (w *retryClient) QueryLiteserver(ctx context.Context, payload tl.Serializab

continue
}
if errors.Is(err, context.DeadlineExceeded) {
err := ctx.Err()
if err != nil {
return err
}

continue
}

return err
}
Expand Down

0 comments on commit e5de251

Please sign in to comment.