Skip to content

When virtual threads are enabled, configure Jetty to use them #35703

@wilkinsona

Description

@wilkinsona

We can use Jetty 10's org.eclipse.jetty.util.VirtualThreads.Configurable.setVirtualThreadsExecutor(Executor) API to configure it to use virtual threads when they're available. Both ExecutorThreadPool and QueuedThreadPool implement this API. We configure Jetty to use a QueuedThreadPool at the moment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions