janhoy commented on pull request #488:
URL: https://github.com/apache/solr/pull/488#issuecomment-1004068228


   Interesting solution to this problem. Another way to fix it would be for the 
CurrencyFieldType to register `ScheduledExecutorService` and do the reloading 
in a tread-safe manner in that thread. It would be more automatic without new 
params or classes, and it would respect the reloadInterval setting as before, 
only it would do the reload in the executor instead of in the query thread. I 
think it is quite resource efficient as well, you won't occupy a thread except 
for each run of the executor. WDYT?


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