Skip to content

Commit

Permalink
Merge pull request #198 from zezhehh/explicit-yield-process
Browse files Browse the repository at this point in the history
fix: yield processor explicitly
  • Loading branch information
myzhan committed May 7, 2024
2 parents 8013d9b + d1c506a commit edd5204
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions runner.go
Expand Up @@ -5,6 +5,7 @@ import (
"fmt"
"log"
"os"
"runtime"
"runtime/debug"
"strings"
"sync"
Expand Down Expand Up @@ -166,6 +167,7 @@ func (r *runner) addWorkers(gapCount int) {
}
}
}
runtime.Gosched()
}
}(ctx)
}
Expand Down

0 comments on commit edd5204

Please sign in to comment.