Skip to content

Conversation

@kliushnichenko
Copy link
Contributor

BTW, the log showed that the server was instantiated twice, if it matters.

@jknack
Copy link
Member

jknack commented Jul 29, 2025

sorry. how did you bootstrap? probably is the service loader static call from server options

@kliushnichenko
Copy link
Contributor Author

yeah, the static one is an extra call

@jknack
Copy link
Member

jknack commented Jul 29, 2025

this is the way I found to initialize server options with server defaults automatically (name, ioThreads, workerThreads). I can find another way to do it but also calling the default constructor on server does nothing, so not a huge deal (except for his sysout that I left there).

@jknack jknack added this to the 4.0.3 milestone Jul 29, 2025
@jknack jknack merged commit 859dc3b into jooby-project:main Jul 29, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants