mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-11-21 15:46:04 +00:00
* perf(traffic): skip unchanged global writes between heartbeats Persist directional usage changes immediately, including lower resets, while refreshing identical global totals only at an inclusive one-hour heartbeat. Use the GORM clock consistently for the existing 24-hour freshness window and preserve local-only snapshots, quota enforcement, and downstream forwarding. Fixes #6928 * docs(traffic): describe persisted global heartbeat timestamps Replace the stale every-push model comment with the change-or-hourly-heartbeat rule. Keep the local-counter separation, delta accounting, MAX fold and reset semantics explicit without treating UpdatedAt as a last-push timestamp. Address the nonblocking review feedback on PR #6931 without rewriting published history. Refs #6928 |
||
|---|---|---|
| .. | ||
| client_global_traffic.go | ||
| client_legacy_fields.go | ||
| client_renewal_merge_test.go | ||
| host_test.go | ||
| hysteria_version_test.go | ||
| keepalive_range_test.go | ||
| keepalive_value.go | ||
| model.go | ||
| model_mtproto_test.go | ||
| model_shadowsocks_removed_test.go | ||
| model_test.go | ||
| model_wireguard_peers_test.go | ||
| model_wireguard_test.go | ||
| node_client_ip.go | ||
| node_client_traffic.go | ||
| node_pending_reset.go | ||
| tuic_traffic_receipt.go | ||