Open nselikoff opened 5 years ago
Hi Nathan,
Yes, these should be opt-in. I will change the defaults.
Cheers,
Sean.
@scrudden I added a config param to disable the historical caches in the branch I'm working on - feel free to cherry pick it.
@nselikoff Thanks.
Perhaps caching should be disabled by default and opt-in, since there are multiple considerations to which caches should be enabled and how they should be configured, depending on the nature of the service.
Right now with default config,
transitclock.cache.daysPopulateHistoricalCache
is set to 4, and I'm seeing theStopArrivalDepartureCache
,TripDataHistoryCache
,FrequencyBasedHistoricalAverageCache
andScheduleBasedHistoricalAverageCache
populated on startup.