Skip to content

Commit

Permalink
Merge pull request #28 from adhocore/fix-loop
Browse files Browse the repository at this point in the history
  • Loading branch information
adhocore authored May 28, 2023
2 parents 0175ee2 + 2af4217 commit 5d21708
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion next.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ func NextTickAfter(expr string, start time.Time, inclRefTime bool) (time.Time, e

func loop(gron Gronx, segments []string, start time.Time, incl bool, reverse bool) (next time.Time, err error) {
iter, next, bumped := 500, start, false
over:
for iter > 0 {
over:
iter--
for pos, seg := range segments {
if seg == "*" || seg == "?" {
Expand Down

0 comments on commit 5d21708

Please sign in to comment.