diff --git a/controller/controller.go b/controller/controller.go index d2ebb3a6..036089be 100644 --- a/controller/controller.go +++ b/controller/controller.go @@ -26,7 +26,7 @@ const ( ) 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 // The only reason this is exposed is to allow running tests from a different path than the root path of the project