mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
[PR #4123] [MERGED] ws/inbounds: realtime fixes + perf for 10k+ client inbounds #5606
Labels
No labels
backlog
bug
clarification needed
documentation
duplicate
enhancement
github_actions
good first issue
invalid
javascript
New Feature
PR welcomed
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
MHSanaei/3x-ui#5606
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/MHSanaei/3x-ui/pull/4123
Author: @lolka1333
Created: 4/28/2026
Status: ✅ Merged
Merged: 5/5/2026
Merged by: @MHSanaei
Base:
main← Head:main📝 Commits (10+)
d14c54dws/inbounds: realtime fixes + perf for 10k+ client inbounds88d71daRemove hub_test.go file6ceddf8fix: ws hub, inbound service, and frontend correctness33782baMerge branch 'main' into main7324c97Merge branch 'main' into main2bb3170Merge branch 'main' into mainf0d6966fix: chunk large IN ? queries and fix IPv6 same-origin check7f7bcb6fix: chunk large IN ? queries and fix IPv6 same-origin checkdf6b46dfix: unify clientStats cache, throttle clarity, hub constants7792715fix(ui): align traffic/expiry cell columns across all rows📊 Changes
16 files changed (+2335 additions, -1361 deletions)
View changed files
📝
web/assets/js/websocket.js(+170 -108)📝
web/controller/inbound.go(+67 -9)📝
web/controller/index.go(+4 -7)📝
web/controller/setting.go(+3 -1)📝
web/controller/websocket.go(+48 -87)📝
web/html/component/aClientTable.html(+23 -31)📝
web/html/component/aTableSortable.html(+244 -180)📝
web/html/inbounds.html(+275 -135)📝
web/html/settings/xray/outbounds.html(+116 -67)📝
web/html/settings/xray/routing.html(+183 -113)📝
web/html/xray.html(+510 -208)📝
web/job/xray_traffic_job.go(+62 -25)📝
web/service/inbound.go(+316 -63)📝
web/session/session.go(+17 -9)📝
web/websocket/hub.go(+256 -279)📝
web/websocket/notifier.go(+41 -39)📄 Description
What is the pull request?
Fixes correctness + performance bugs in the WebSocket realtime layer and inbound page.
client_stats), force non-nilonlineClients, total-traffic counter now updates without page reloadupdateClientTraffics, bulk delete client IPs, new/setEnable/:idlightweight endpoint — 10k-client inbound toggle goes from 5–10s to <100msWhich part of the application is affected by the change?
Type of Changes
Screenshots
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.