Files
photoprism/internal/entity/lens_cache.go
2021-02-06 16:30:30 +01:00

14 lines
169 B
Go

package entity
import (
"time"
gc "github.com/patrickmn/go-cache"
)
var lensCache = gc.New(time.Hour, 15*time.Minute)
func FlushLensCache() {
lensCache.Flush()
}