Skip to content

fix(client): increase mpsc channel size#6184

Merged
ReactorScram merged 4 commits intomainfrom
fix/gui-channel-full-patch
Aug 6, 2024
Merged

fix(client): increase mpsc channel size#6184
ReactorScram merged 4 commits intomainfrom
fix/gui-channel-full-patch

Conversation

@ReactorScram
Copy link
Contributor

@ReactorScram ReactorScram commented Aug 6, 2024

Mitigates #5880.

This should fix the issue for all practical purposes, but we don't need a channel there, so it does not close the ticket. A more permanent fix would involve factoring out the callbacks or cheating and using a Mutex inside the callbacks to do a swap-and-notify thing.

This affects both the Headless Client and the GUI Client's IPC service, on both Linux and Windows.

Refs #5880.

This should fix the issue for all practical purposes, but we don't need
a channel there, so it does not close the ticket.

This affects both the Headless Client and the GUI Client's IPC service.
@vercel
Copy link

vercel bot commented Aug 6, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
firezone ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 6, 2024 4:03pm

@github-actions
Copy link

github-actions bot commented Aug 6, 2024

🐰Bencher

ReportTue, August 6, 2024 at 16:13:19 UTC
ProjectFirezone
Branchfix/gui-channel-full-patch
Testbedgithub-actions
Click to view all benchmark results
BenchmarkThroughputThroughput Results
bits/s | (Δ%)
Throughput Lower Boundary
bits/s | (%)
direct-tcp-client2server✅ (view plot)244,906,576.65 (+1.23%)237,173,560.66 (96.84%)
direct-tcp-server2client✅ (view plot)250,480,509.79 (+1.02%)241,749,120.19 (96.51%)
direct-udp-client2server✅ (view plot)281,070,524.85 (-2.61%)271,007,731.32 (96.42%)
direct-udp-server2client✅ (view plot)403,087,601.53 (+1.77%)384,051,895.12 (95.28%)
relayed-tcp-client2server✅ (view plot)248,360,217.60 (+0.94%)239,772,949.17 (96.54%)
relayed-tcp-server2client✅ (view plot)265,576,468.39 (+3.18%)246,909,793.34 (92.97%)
relayed-udp-client2server✅ (view plot)224,309,001.42 (-2.12%)218,945,193.61 (97.61%)
relayed-udp-server2client✅ (view plot)339,277,414.01 (+0.42%)318,422,064.74 (93.85%)

Bencher - Continuous Benchmarking
View Public Perf Page
Docs | Repo | Chat | Help

@ReactorScram ReactorScram marked this pull request as ready for review August 6, 2024 16:02
@ReactorScram ReactorScram enabled auto-merge August 6, 2024 16:20
@ReactorScram ReactorScram added this pull request to the merge queue Aug 6, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Aug 6, 2024
@ReactorScram ReactorScram added this pull request to the merge queue Aug 6, 2024
Merged via the queue into main with commit 30622da Aug 6, 2024
@ReactorScram ReactorScram deleted the fix/gui-channel-full-patch branch August 6, 2024 17:32
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

Comments