Skip to content

Commit

Permalink
Fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
Alliballibaba2 committed Feb 2, 2025
1 parent 60b437f commit 4a5cfd1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions phpmainthread.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ func initPHPThreads(numThreads int, numMaxThreads int, phpIni map[string]string)

// start the underlying C threads
ready := sync.WaitGroup{}
ready.Add(maxThreads)
for i := 0; i < maxThreads; i++ {
ready.Add(numThreads)
for i := 0; i < numThreads; i++ {
thread := phpThreads[i]
go func() {
thread.boot()
Expand Down

0 comments on commit 4a5cfd1

Please sign in to comment.