Skip to content

Support virtual threads #215

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Jun 27, 2025
Merged

Support virtual threads #215

merged 7 commits into from
Jun 27, 2025

Conversation

pboos
Copy link
Contributor

@pboos pboos commented Jun 17, 2025

Description

Use virtual threads if available (Java 21+).
Same as with threads, limited to 2 virtual threads running in parallel.

Not enabled by default right now. Opt in to use virtual threads by adding the following to application.properties:

openapi.validation.enable-virtual-threads=true

@pboos pboos changed the title [NO-TICKET] Virtual threads Support virtual threads Jun 18, 2025
@pboos pboos marked this pull request as ready for review June 18, 2025 13:06
@pboos pboos requested a review from a team as a code owner June 18, 2025 13:06
@pboos pboos requested a review from ronaldgyg June 18, 2025 13:06
@pboos pboos merged commit f8a5bd2 into main Jun 27, 2025
4 checks passed
@pboos pboos deleted the NO-TICKET-virtual-threads branch June 27, 2025 13:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants