Skip to content

[BUG] Inaccurate error message in reserveSeatFor when an IPC timeout occurs #877

@eugene-egorov

Description

@eugene-egorov

We intermittently see a “room is already full” error in production. We don’t explicitly lock the maxClients value, so I suspect the actual cause is an IPC timeout (likely related to #876 ). The problem is that reserveSeatFor throws the same “room is already full” error in both cases, so we can’t distinguish between them and adjust client behaviour accordingly.

throw new SeatReservationError(`${room.roomId} is already full.`);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions