multica/apps/gateway
Jiayuan Zhang d6393c6718 fix(gateway): remove cleanupPendingRequests that rejects all concurrent users
cleanupPendingRequests() iterated the service-wide pendingRequests Map
and rejected every entry. Since it was called from connectUser's catch
block (a per-user error path), one user's connection failure would
spuriously reject other users' in-flight verify RPCs.

The call was also redundant: sendVerifyRpc already cleans up its own
entry in all failure paths (timeout, RPC error, route failure).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-14 01:31:33 +08:00
..
database refactor: restructure to monorepo architecture 2026-02-10 18:00:23 +08:00
migrations refactor: restructure to monorepo architecture 2026-02-10 18:00:23 +08:00
public refactor: restructure to monorepo architecture 2026-02-10 18:00:23 +08:00
scripts fix(gateway): rewrite Dockerfile to match current source layout 2026-02-12 13:27:41 +08:00
telegram fix(gateway): remove cleanupPendingRequests that rejects all concurrent users 2026-02-14 01:31:33 +08:00
app.controller.ts refactor: restructure to monorepo architecture 2026-02-10 18:00:23 +08:00
app.module.ts refactor: restructure to monorepo architecture 2026-02-10 18:00:23 +08:00
Dockerfile fix(gateway): rewrite Dockerfile to match current source layout 2026-02-12 13:27:41 +08:00
events.gateway.ts refactor: restructure to monorepo architecture 2026-02-10 18:00:23 +08:00
gateway.module.ts refactor: restructure to monorepo architecture 2026-02-10 18:00:23 +08:00
index.ts refactor: restructure to monorepo architecture 2026-02-10 18:00:23 +08:00
main.ts fix(gateway): enable CORS for HTTP endpoints 2026-02-14 00:42:29 +08:00
package.json refactor: restructure to monorepo architecture 2026-02-10 18:00:23 +08:00
test-app.ts refactor: restructure to monorepo architecture 2026-02-10 18:00:23 +08:00
test-client.ts refactor: restructure to monorepo architecture 2026-02-10 18:00:23 +08:00
tsconfig.json refactor: restructure to monorepo architecture 2026-02-10 18:00:23 +08:00
types.ts refactor: restructure to monorepo architecture 2026-02-10 18:00:23 +08:00