jrudolph commented on issue #621:
URL: https://github.com/apache/pekko-http/issues/621#issuecomment-2421881491

   No, it's a user error here.
   
   You have to be very careful about what you do in `App` classes (even in 
Scala 2) and that has become more so in Scala 3 (known issue).
   
   That you reinstate the whole service for each request, is also kind of a 
user error which you can fix by instantiating the HelloService once, extract 
the route and pass it into the server binding. It would be even better not to 
compose routes in the main App.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to