Skip to content
This repository was archived by the owner on Apr 4, 2025. It is now read-only.
This repository was archived by the owner on Apr 4, 2025. It is now read-only.

Limit parameter in lobby.ts not respected in example #27

@rohanbam

Description

@rohanbam

Hi,
I'm running the example worker locally by doing pnpm build && pnpm dev.
I've set the limit parameter to 2 in lobby.ts

I expect only two users should be able to get into a chat room and the third user should be assigned a new chatroom.
However, the third user also joins the same chatroom as the first two users.

Is my understanding of how it should work correct? if so, what might be the problem?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions