Skip to content

fix(realtime): decrement connectionCounter only if connection is known #9055

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

Merged
merged 1 commit into from
Dec 12, 2024

Conversation

basert
Copy link
Contributor

@basert basert commented Dec 2, 2024

The counter is incremented after it's added to $realtime->connections. Only decrement the counter if the connection is known.

Copy link

github-actions bot commented Dec 2, 2024

✨ Benchmark results

  • Requests per second: 1,135
  • Requests with 200 status code: 204,406
  • P99 latency: 0.188091849

⚡ Benchmark Comparison

Metric This PR Latest version
RPS 1,135 1,998
200 204,406 359,721
P99 0.188091849 0.076655007

@christyjacob4 christyjacob4 merged commit 9a693ec into 1.6.x Dec 12, 2024
62 of 63 checks passed
@christyjacob4 christyjacob4 deleted the PLA-1990 branch December 12, 2024 14:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy