this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

identity: even better default durations

+2 -2
+2 -2
atproto/identity/cache_directory.go
··· 34 34 35 35 func NewCacheDirectory(inner Directory) CacheDirectory { 36 36 // NOTE: these are kind of arbitrary default values... 37 - hitTTL := time.Duration(1e9 * 60 * 60) // 1 hour 38 - errTTL := time.Duration(1e9 * 60 * 2) // 2 minutes 37 + hitTTL := time.Hour * 1 38 + errTTL := time.Minute * 2 39 39 return CacheDirectory{ 40 40 HitTTL: hitTTL, 41 41 ErrTTL: errTTL,