mirror of
https://github.com/TwiN/gatus.git
synced 2025-02-16 18:21:07 +01:00
Switch gocache to FIFO instead of LRU
This commit is contained in:
parent
932eab00a0
commit
3187db1e9a
@ -26,7 +26,7 @@ const (
|
|||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
cache = gocache.NewCache().WithMaxSize(100).WithEvictionPolicy(gocache.LeastRecentlyUsed)
|
cache = gocache.NewCache().WithMaxSize(100).WithEvictionPolicy(gocache.FirstInFirstOut)
|
||||||
|
|
||||||
// staticFolder is the path to the location of the static folder from the root path of the project
|
// staticFolder is the path to the location of the static folder from the root path of the project
|
||||||
// The only reason this is exposed is to allow running tests from a different path than the root path of the project
|
// The only reason this is exposed is to allow running tests from a different path than the root path of the project
|
||||||
|
Loading…
Reference in New Issue
Block a user