WithNumThreads configures the number of PHP threads to start.
(numThreads int)
| 63 | |
| 64 | // WithNumThreads configures the number of PHP threads to start. |
| 65 | func WithNumThreads(numThreads int) Option { |
| 66 | return func(o *opt) error { |
| 67 | o.numThreads = numThreads |
| 68 | |
| 69 | return nil |
| 70 | } |
| 71 | } |
| 72 | |
| 73 | func WithMaxThreads(maxThreads int) Option { |
| 74 | return func(o *opt) error { |
no outgoing calls