added caching to map results
All checks were successful
Run Integration Tests / test (push) Successful in 19s

This commit is contained in:
partisan 2024-12-05 19:47:53 +01:00
parent f2d9a37e87
commit 7498f4128a
3 changed files with 77 additions and 4 deletions

View file

@ -89,6 +89,7 @@ func main() {
// Start periodic cleanup of expired cache files
if config.RamCacheEnabled {
resultsCache = NewResultsCache()
geocodeCache = NewGeocodeCache()
printInfo("RAM cache started.")
} else {
printInfo("RAM cache is disabled.")