MCPcopy Index your code
hub / github.com/php/frankenphp / WithNumThreads

Function WithNumThreads

options.go:65–71  ·  view source on GitHub ↗

WithNumThreads configures the number of PHP threads to start.

(numThreads int)

Source from the content-addressed store, hash-verified

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

Calls

no outgoing calls