Skip to content

Change thread-selection to apply to all code, not just controllers #12206

@yawkat

Description

@yawkat

Issue description

Setting the thread-selection configuration option acts like marking all controllers with @ExecuteOn. Code in other parts of the http stack (eg filters or argument binders) still runs on the event loop.

For micronaut 5, we should change the behavior to instead switch to the configured thread as soon as possible, probably right in handleRequest.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions