From 2e9b18944eac3dcaf8a006594cb338d94c07a447 Mon Sep 17 00:00:00 2001 From: GrailFinder Date: Sat, 18 May 2024 13:27:28 +0300 Subject: Feat: auth; login; signup; migrate to sqlite --- pkg/cache/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkg/cache/main.go') 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) } -- cgit v1.2.3