From 2c6379649aa32f5008bbd0279fa1f0e53b29529f Mon Sep 17 00:00:00 2001 From: Kagami Sascha Rosylight Date: Sat, 27 May 2023 20:54:16 +0200 Subject: [PATCH] Update OAuth2ProviderService.ts --- packages/backend/src/server/oauth/OAuth2ProviderService.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/backend/src/server/oauth/OAuth2ProviderService.ts b/packages/backend/src/server/oauth/OAuth2ProviderService.ts index 18189be830..e65676c31f 100644 --- a/packages/backend/src/server/oauth/OAuth2ProviderService.ts +++ b/packages/backend/src/server/oauth/OAuth2ProviderService.ts @@ -304,7 +304,7 @@ export class OAuth2ProviderService { // }, // }); - // XXX: But MemoryKVCache just grows forever without being cleared... + // XXX: But MemoryKVCache just grows forever without being cleared if grant codes are left unused const grantCodeCache = new MemoryKVCache<{ clientId: string, userId: string,