sgup432 commented on issue #14183: URL: https://github.com/apache/lucene/issues/14183#issuecomment-2625661420
@jpountz Yeah I meant we could use something like AtomicReference to set it dynamically in a thread safe way. I meant harmless in a sense that it should be easy to implement via getter/setter. Something like below: ``` private final AtomicReference<Float> skipCacheFactor = new AtomicReference<>(10f); public float getSkipCacheFactor() { return skipCacheFactor.get(); } public void setSkipCacheFactor(float value) { skipCacheFactor.set(value); } ``` -- 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: issues-unsubscr...@lucene.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org