mirror of
https://github.com/photoprism/photoprism.git
synced 2025-10-07 09:41:16 +08:00
14 lines
169 B
Go
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()
|
|
}
|