fix(backend): キャッシュが溜まり続けないように

Related #10984
This commit is contained in:
syuilo 2023-06-10 13:45:11 +09:00
parent 6182a1cb2c
commit e8420ad90b
10 changed files with 117 additions and 13 deletions

View file

@ -435,6 +435,7 @@ export class RoleService implements OnApplicationShutdown {
@bindThis
public dispose(): void {
this.redisForSub.off('message', this.onMessage);
this.roleAssignmentByUserIdCache.dispose();
}
@bindThis