added caching to map results
All checks were successful
Run Integration Tests / test (push) Successful in 19s
All checks were successful
Run Integration Tests / test (push) Successful in 19s
This commit is contained in:
parent
f2d9a37e87
commit
7498f4128a
3 changed files with 77 additions and 4 deletions
1
init.go
1
init.go
|
@ -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.")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue