photoprism/internal/maps/places/cache.go
Michael Mayer 6da8bd098a Backend: Add support for new Places API #173
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-31 07:16:11 +01:00

10 lines
123 B
Go

package places
import (
"time"
gc "github.com/patrickmn/go-cache"
)
var cache = gc.New(15*time.Minute, 5*time.Minute)