[bug] ws-redis.adapter pub/sub clients never disconnected (latent ioredis handle leak) #255
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem / Goal
Выявлено при ревью #252/#254.
apps/server/src/ws/adapter/ws-redis.adapter.ts:23-24создаётpubClient/subClientдля socket.io-адаптера, которые НИГДЕ не отключаются — латентная утечка ioredis-сокетов при shutdown. В e2e smoke-тесте не воспроизводится (создаётся в bootstrap из main.ts, не в AppModule), поэтому вне scope #252.Acceptance criteria
Notes
Вынесено из ревью PR #254 (#252) как отдельный pre-existing дефект.