summaryrefslogtreecommitdiff
path: root/pkg/cache/main.go
diff options
context:
space:
mode:
authorGrailFinder <wohilas@gmail.com>2024-05-18 13:27:28 +0300
committerGrailFinder <wohilas@gmail.com>2024-05-18 13:27:28 +0300
commit2e9b18944eac3dcaf8a006594cb338d94c07a447 (patch)
tree7715140a6951407d13781e0a5bbf83a6e8f9dbe9 /pkg/cache/main.go
parentff86222fc9ab85fb4c5c5e8a063083595b323761 (diff)
Feat: auth; login; signup; migrate to sqlite
Diffstat (limited to 'pkg/cache/main.go')
-rw-r--r--pkg/cache/main.go2
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)
}