diff options
author | GrailFinder <wohilas@gmail.com> | 2024-05-18 13:27:28 +0300 |
---|---|---|
committer | GrailFinder <wohilas@gmail.com> | 2024-05-18 13:27:28 +0300 |
commit | 2e9b18944eac3dcaf8a006594cb338d94c07a447 (patch) | |
tree | 7715140a6951407d13781e0a5bbf83a6e8f9dbe9 /pkg | |
parent | ff86222fc9ab85fb4c5c5e8a063083595b323761 (diff) |
Feat: auth; login; signup; migrate to sqlite
Diffstat (limited to 'pkg')
-rw-r--r-- | pkg/cache/main.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/cache/main.go b/pkg/cache/main.go index d617f49..2aac109 100644 --- a/pkg/cache/main.go +++ b/pkg/cache/main.go @@ -42,7 +42,7 @@ func init() { timeMap: make(map[string]time.Time), lock: &sync.RWMutex{}, } - MemCache.StartExpiryRoutine(time.Minute) + MemCache.StartExpiryRoutine(time.Hour * 24 * 30) MemCache.StartBackupRoutine(time.Minute) } |