mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-09-22 08:34:10 +00:00
UpdateInbound applied a local MTProto inbound change by calling the runtime UpdateInbound (which stops/starts the mtg sidecar or talks to it) from inside runSerializedTx. That runs process and network I/O on the single traffic-writer goroutine while a DB transaction is open, so a slow sidecar stalls traffic accounting and every concurrent client mutation, and a later step failing the transaction leaves the sidecar ahead of the rolled-back row. Move the push into the post-commit hook, matching the xray branch. Adds a SetLocalRuntimeOverride test seam mirroring the existing node override so the deferral is regression tested. |
||
|---|---|---|
| .. | ||
| local.go | ||
| manager.go | ||
| manager_convergence_test.go | ||
| reconcile_skip_test.go | ||
| remote.go | ||
| remote_envelope_test.go | ||
| remote_mtls_test.go | ||
| remote_test.go | ||
| runtime.go | ||
| tls_client.go | ||
| tls_client_property_test.go | ||
| tls_client_test.go | ||