photoprism/internal/maps/places/cache.go

10 lines
123 B
Go
Raw Normal View History

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