Skip to main content

ProcessManagerOptions <PHP>

Index

Properties

optionalmaxPhpInstances

maxPhpInstances?: number

The maximum number of PHP instances that can exist at the same time.

optionalphpFactory

phpFactory?: PHPFactory<PHP>

A factory function used for spawning new PHP instances.

optionalprimaryPhp

primaryPhp?: PHP

The primary PHP instance that’s never killed. This instance contains the reference filesystem used by all other PHP instances.

optionaltimeout

timeout?: number

The number of milliseconds to wait for a PHP instance when we have reached the maximum number of PHP instances and cannot spawn a new one. If the timeout is reached, we assume all the PHP instances are deadlocked and a throw MaxPhpInstancesError.

Default: 5000