From b1b7c7b61f19027b7a4be65c96394ef35619b9f7 Mon Sep 17 00:00:00 2001 From: John Schaeffer Date: Wed, 15 May 2024 15:24:09 -0400 Subject: [PATCH] Remove the ZedToken cache from the query engine This commit removes the ZedToken cache from the query engine since we're not using it anymore. Signed-off-by: John Schaeffer --- internal/query/service.go | 1 - 1 file changed, 1 deletion(-) diff --git a/internal/query/service.go b/internal/query/service.go index eec78469a..121facf8c 100644 --- a/internal/query/service.go +++ b/internal/query/service.go @@ -83,7 +83,6 @@ type engine struct { logger *zap.SugaredLogger namespace string client *authzed.Client - zedTokenCache *expirable.LRU[string, string] store storage.Storage schema []types.ResourceType schemaPrefixMap map[string]types.ResourceType