3x-ui/internal/web/runtime
25f2002654 f105132866
perf(runtime): pool the local xray gRPC connection (#6916)
A client per runtime operation made a bulk delete pay a TCP and HTTP/2
handshake for every client. The local runtime now keeps one gRPC client
per API port and replaces it when a core restart moves the port; the
traffic poll keeps its own client, since StatsLastValues is unlocked.

A pooled channel keeps grpc-go's reconnect backoff after the core
restarts, so a call that fails with Unavailable drops the client and
dials again, as a client per call did.
2026-10-24 19:30:09 +02:00
..
local.go perf(runtime): pool the local xray gRPC connection (#6916) 2026-10-24 19:30:09 +02:00
local_api.go perf(runtime): pool the local xray gRPC connection (#6916) 2026-10-24 19:30:09 +02:00
local_api_test.go perf(runtime): pool the local xray gRPC connection (#6916) 2026-10-24 19:30:09 +02:00
local_tuic_test.go fix(tuic): preserve client identity for Xray user routing (#6875) 2026-10-24 06:20:39 +02:00
manager.go fix(node): release a deleted node's metric series and HTTP client 2026-09-15 20:39:32 +02:00
manager_convergence_test.go fix(runtime): refresh cached node remotes on identity change (#5614) 2026-06-28 15:01:18 +02:00
reconcile_skip_test.go fix(nodes): let a master's push and reconcile converge node inbounds 2026-10-05 12:17:59 +02:00
remote.go fix(node): don't delete clients when a node reports an empty snapshot (#6734) 2026-10-05 16:12:08 +02:00
remote_envelope_test.go feat(node): node hardening — mTLS, hashed+zstd reconcile transport, per-node net metrics (#5382) 2026-06-16 12:19:33 +02:00
remote_mtls_test.go feat(node): node hardening — mTLS, hashed+zstd reconcile transport, per-node net metrics (#5382) 2026-06-16 12:19:33 +02:00
remote_reset_test.go fix(runtime): reset node inbound traffic by node-side id (#6717) 2026-10-03 00:59:11 +02:00
remote_test.go feat(inbound): excludeFromSub hides links without disabling (#6463) 2026-09-27 12:26:37 +02:00
runtime.go fix(node): fully delete clients on nodes instead of only detaching them 2026-07-05 20:28:26 +02:00
tls_client.go perf(nodes): reuse one pooled client per node instead of rebuilding it (#6548) 2026-09-15 15:29:49 +03:00
tls_client_invalidate_test.go fix(node): release a deleted node's metric series and HTTP client 2026-09-15 20:39:32 +02:00
tls_client_property_test.go Test-quality audit: fix 2 prod bugs, strengthen weak tests, add mutation/fuzz/CI tooling (#5345) 2026-06-15 15:17:03 +02:00
tls_client_test.go perf(nodes): reuse one pooled client per node instead of rebuilding it (#6548) 2026-09-15 15:29:49 +03:00
tls_client_wire_test.go fix(nodes): apply a rotated master mTLS certificate without restarting the panel (#6194) 2026-08-15 16:03:42 +02:00