Update OAuth2ProviderService.ts

This commit is contained in:
Kagami Sascha Rosylight 2023-05-27 20:54:16 +02:00
parent 150a6f80d0
commit 2c6379649a

View file

@ -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<{ const grantCodeCache = new MemoryKVCache<{
clientId: string, clientId: string,
userId: string, userId: string,