chagne the defualt reader cleaner scheduler to 10 seconds

This commit is contained in:
kimchy 2010-05-16 20:06:59 +03:00
parent 013e7699c3
commit 2301b0b13d

View File

@ -56,7 +56,7 @@ public abstract class AbstractConcurrentMapFilterCache extends AbstractIndexComp
super(index, indexSettings);
this.cache = cache;
this.readerCleanerSchedule = componentSettings.getAsTime("reader_cleaner_schedule", TimeValue.timeValueMinutes(1));
this.readerCleanerSchedule = componentSettings.getAsTime("reader_cleaner_schedule", TimeValue.timeValueSeconds(10));
logger.debug("Using [" + type() + "] filter cache with reader_cleaner_schedule [{}]", readerCleanerSchedule);