Skip to content

Commit

Permalink
mod
Browse files Browse the repository at this point in the history
  • Loading branch information
RyougiNevermore committed Dec 26, 2024
1 parent ea315d1 commit e399e3d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions async/make.go
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,7 @@ func Make[R any](ctx context.Context, options ...Option) (p Promise[R], err erro
times--
if times < 0 {
times = 10
time.Sleep(time.Millisecond)
runtime.Gosched()
}
}
Expand Down

0 comments on commit e399e3d

Please sign in to comment.