Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

perf: broadcast msg to all gateway with concurrency #1411

Merged
merged 1 commit into from
Nov 15, 2023

Conversation

rfyiamcool
Copy link
Contributor

summary

  1. add maxConcurrentWorkers in config.
  2. broadcast msg to all gateway with concurrency.
  3. pervent to alloc OnlineBatchPushOneMsgReq multiple times.

Signed-off-by: rfyiamcool <rfyiamcool@163.com>
Copy link
Contributor

sweep-ai bot commented Nov 14, 2023

Apply Sweep Rules to your PR?

  • Apply: All new business logic should have corresponding unit tests.
  • Apply: Refactor large functions to be more modular.
  • Apply: Add docstrings to all functions and file headers.

Copy link

codecov bot commented Nov 14, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (7502b4a) 4.35% compared to head (a327f24) 4.35%.

Additional details and impacted files
@@          Coverage Diff          @@
##            main   #1411   +/-   ##
=====================================
  Coverage   4.35%   4.35%           
=====================================
  Files         49      49           
  Lines       4114    4114           
=====================================
  Hits         179     179           
  Misses      3923    3923           
  Partials      12      12           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@cubxxw cubxxw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@cubxxw cubxxw added this pull request to the merge queue Nov 15, 2023
Merged via the queue into openimsdk:main with commit eeb16d4 Nov 15, 2023
21 checks passed
@openimsdk openimsdk locked and limited conversation to collaborators Nov 15, 2023
@github-actions github-actions bot added this to the v3.1 milestone Nov 15, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants