Skip to content

question: Channel List Component Reaches Rate Limit Due to QueryChannel for Each New Channel on Campaign Creation #2441

Closed

Description

@LongJohnSilver1504

Hello there:

When a campaign is created with thousands of users, the Channel List component starts to perform a queryChannel for each newly created channel. This behavior causes the application to quickly reach the rate limit, particularly in the view of the user who creates the campaign.

Steps to Reproduce:

1.	Create a campaign with a large number of users (e.g., thousands).
2.	Observe the Channel List component’s behavior in the user’s view who created the campaign.
3.	Notice that a queryChannel is triggered for each new channel created, leading to rapid rate limit exhaustion.

Current Behavior:
The Channel List component makes a queryChannel request for every newly created channel, which is not scalable for campaigns with a large number of users.

How I could solve this problem?

Thanks

Activity

  1. MartinCupela commented on Jun 28, 2024

    @MartinCupela
    Contributor

    Hello @LongJohnSilver1504 how do you create campaigns? Do you create them client-side or server-side?

  2. LongJohnSilver1504 commented on Jun 28, 2024

    @LongJohnSilver1504
    Author

    Hi @MartinCupela I created the campaign on the server.

    Im just investigating and after the campaign creation the event

    notification.message_new | Moves channel to top of list and starts watching | onMessageNew
    

    is called for every campaign message on the sender chat view

    and here is the problem

    Now Im just trying to debounce or something

  3. MartinCupela commented on Jul 1, 2024

    @MartinCupela
    Contributor

    Hey @LongJohnSilver1504 , please give me some time to clarify this with the team.

  4. LongJohnSilver1504 commented on Jul 9, 2024

    @LongJohnSilver1504
    Author

    Perfect @MartinCupela I also explain the problem to Anders Lund from support ;)

  5. MartinCupela commented on Jul 15, 2024

    @MartinCupela
    Contributor

    Hello @LongJohnSilver1504 , the issue is now taken care of by our back-end team. I will keep you updated.

  6. brianMxBm commented on Apr 8, 2025

    @brianMxBm

    I am still facing this issue and had to contact support. @MartinCupela. Currently on the clientside I can't get any reliable information to perform stateful loading when the campaign is active, web hooks are slow I need a result quicker to determine when it finishes. I've even tried utilizing the campaigns query server side but the progress data never seems to update? It stays at 0 even though on the client and dashboard the messages are sent..

  7. added a commit that references this issue on Jul 3, 2026
  8. stream-ci-bot commented on Jul 3, 2026

    @stream-ci-bot

    🎉 This issue has been resolved in version 14.6.1 🎉

    The release is available on:

    Your semantic-release bot 📦🚀

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions