Skip to content

Implement missing min_threads configuration option #2482

@gucki

Description

@gucki

Describe your feature request

There are max_threads and num_threads configuration options, but no min_threads option. This means FrankenPHP can scale down to 0 threads — so before any request can be served, a new thread must first be created.

What's the reasoning behind not having a min_threads option? I'd like to be able to set a minimum — for example, 1 thread — so that FrankenPHP never scales down completely and the first request doesn't lag.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions