jira-importer commented on issue #494:
URL: https://github.com/apache/maven-indexer/issues/494#issuecomment-2965145457

   **[Jesse N. 
Glick](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=jglick)** 
commented
   
   Assuming the "bottle warmer" is intended to preload Lucene indices for quick 
response times, this seems quite inappropriate to be called by default by a 
library like Maven Indexer, and probably should not even be present there in 
code. While it makes sense for a server like Nexus, which can take its time 
starting up but needs to be responsive thereafter, it makes no sense for a CLI 
utility embedding the library which only needs to do a handful of operations 
and then exit; nor does it make sense for embedding in a desktop app like an 
IDE, which may well perform warmup operations but likely has its own carefully 
tuned schedule for doing so (and likely cannot afford to waste a native thread 
sitting on each Maven repository).
   


-- 
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]

Reply via email to