How to turn off the scan for the war files in Jetty10

I am working with Jetty10 and by defalut, war scan is enabled and the scan interval is set to 1 second. It means Jetty scans the complete web apps directory every 1 sec. Please correct me if I am wrong. the below code is in the jetty\etc\jetty-deploy.XML

 <Set name="scanInterval"><Property name="jetty.deploy.scanInterval" default="1"/></Set>

I don't want that burden to my application and turning this scan off will reduce the overhead of jetty scanning complete web apps every 1 sec.

So, my question is how can we turn off this scan? do we need to set it to -1 or is there any approach to do this?



from Recent Questions - Stack Overflow https://ift.tt/3xvFnkF
https://ift.tt/eA8V8J

Comments

Popular posts from this blog

Today Walkin 14th-Sept

Hibernate Search - Elasticsearch with JSON manipulation

Spring Elasticsearch Operations