https://kotlinlang.org logo
Title
n

Nigel Smith

05/13/2023, 2:58 PM
I can’t see any documentation about how to configure Jetty from the conf file when using that as the engine? (I’m seeing relatively poor performance from Ktor relative to another jetty application which uses dropwizard and trying to see if it’s just running with some bad defaults)
a

Aleksei Tirman [JB]

05/15/2023, 7:22 AM
For
Jetty
engine you can configure only common settings using a configuration file.
n

Nigel Smith

05/15/2023, 8:50 AM
ah thanks - that’s a shame
a

andyg

05/30/2023, 9:03 AM
I'm pretty sure you have the ability to fully configure Jetty, but in code, not through a config file. https://ktor.io/docs/engines.html#jetty-code