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

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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