mirror of
https://github.com/TwiN/gatus.git
synced 2026-02-04 09:31:45 +00:00
fix(security): Use LRU eviction policy for OIDC sessions
This commit is contained in:
@@ -2,4 +2,4 @@ package security
|
||||
|
||||
import "github.com/TwiN/gocache/v2"
|
||||
|
||||
var sessions = gocache.NewCache() // TODO: Move this to storage
|
||||
var sessions = gocache.NewCache().WithEvictionPolicy(gocache.LeastRecentlyUsed) // TODO: Move this to storage
|
||||
|
||||
Reference in New Issue
Block a user