Hamed
9088b8a768
fix(traffic): count the first managed Xray sample ( #7246 )
...
The traffic poller treated the first stats reply of every core as a baseline and credited none of it, so whatever clients moved between an Xray start and the first poll never reached their committed usage. A restart on the same API port also kept the previous core's last values, which under-credited the new core by that amount, and by all of it when the new counter had not yet passed the old one.
Track the baseline by process identity instead: a core the panel has just started counts from zero, and the poller keeps its own API client so a restart issued by any other service value cannot leave stale values behind. A panel-only reload keeps the same process and is not counted again. A generic API connection to a core with unknown counter history still takes a baseline first.
Fixes #7211
2026-11-28 17:43:35 +03:30
..
2026-11-24 19:55:55 +03:30
2026-11-28 06:42:26 +03:30
2026-11-13 00:13:13 +01:00
2026-11-24 21:39:42 +03:30
2026-11-24 21:54:39 +03:30
2026-11-25 15:23:19 +03:30
2026-11-06 18:53:43 +01:00
2026-11-28 05:16:42 +03:30
2026-11-24 17:51:49 +03:30
2026-11-24 17:51:49 +03:30
2026-11-24 17:51:49 +03:30
2026-11-25 12:06:45 +03:30
2026-11-26 12:10:11 +03:30
2026-11-24 17:51:49 +03:30
2026-11-25 15:51:43 +03:30
2026-11-12 23:36:22 +01:00
2026-11-25 15:51:43 +03:30
2026-11-24 21:26:44 +03:30
2026-11-24 21:26:44 +03:30
2026-11-28 05:16:42 +03:30
2026-11-28 09:40:57 +03:30
2026-11-28 05:16:42 +03:30
2026-11-24 17:51:49 +03:30
2026-11-24 14:52:53 +03:30
2026-11-24 03:32:23 +03:30
2026-11-25 15:23:19 +03:30
2026-11-25 22:01:02 +03:30
2026-11-25 12:06:45 +03:30
2026-11-24 03:15:27 +03:30
2026-11-25 12:06:45 +03:30
2026-11-25 12:06:45 +03:30
2026-11-25 12:06:45 +03:30
2026-11-24 22:16:16 +03:30
2026-11-24 22:16:16 +03:30
2026-11-24 22:16:16 +03:30
2026-11-24 22:16:16 +03:30
2026-11-24 22:16:16 +03:30
2026-11-24 22:16:16 +03:30
2026-11-24 14:52:53 +03:30
2026-11-25 22:00:56 +03:30
2026-11-25 15:51:43 +03:30
2026-11-24 03:32:23 +03:30
2026-11-23 23:36:13 +03:30
2026-11-23 23:36:13 +03:30
2026-11-24 21:54:39 +03:30
2026-11-24 14:52:53 +03:30
2026-11-26 12:10:11 +03:30
2026-11-24 22:16:16 +03:30
2026-11-28 09:40:57 +03:30
2026-11-26 12:10:11 +03:30
2026-11-26 12:10:11 +03:30
2026-11-24 14:52:53 +03:30
2026-11-24 16:32:13 +03:30
2026-11-28 08:42:41 +03:30
2026-11-26 12:10:11 +03:30
2026-11-26 13:18:21 +03:30
2026-11-26 11:56:24 +03:30
2026-11-24 21:04:55 +03:30
2026-11-24 21:04:55 +03:30
2026-11-26 13:18:21 +03:30
2026-11-24 19:55:55 +03:30
2026-11-24 19:55:55 +03:30
2026-11-24 19:55:55 +03:30
2026-11-24 19:55:55 +03:30
2026-11-24 20:38:38 +03:30
2026-11-24 19:55:55 +03:30
2026-11-28 08:42:41 +03:30
2026-11-28 09:40:57 +03:30
2026-11-24 16:32:13 +03:30
2026-11-24 19:55:55 +03:30
2026-11-28 08:42:41 +03:30
2026-11-24 20:23:28 +03:30
2026-11-24 16:55:08 +03:30
2026-11-28 08:42:41 +03:30
2026-11-28 08:42:41 +03:30
2026-11-24 16:07:37 +03:30
2026-11-24 16:07:37 +03:30
2026-11-26 12:10:11 +03:30
2026-11-25 00:50:24 +03:30
2026-11-25 00:50:24 +03:30
2026-11-25 00:50:24 +03:30
2026-11-25 00:50:24 +03:30
2026-11-25 11:02:24 +03:30
2026-11-25 01:04:29 +03:30
2026-11-24 01:35:53 +03:30
2026-11-24 16:55:08 +03:30
2026-11-24 19:55:55 +03:30
2026-11-25 01:04:29 +03:30
2026-11-23 23:36:13 +03:30
2026-11-24 19:55:55 +03:30
2026-11-13 00:13:13 +01:00
2026-11-25 17:20:10 +03:30
2026-11-24 21:54:39 +03:30
2026-11-24 21:54:39 +03:30
2026-11-25 17:26:08 +03:30
2026-11-28 09:53:14 +03:30
2026-11-28 09:53:14 +03:30
2026-11-28 09:53:14 +03:30
2026-11-06 18:53:42 +01:00
2026-11-06 18:53:42 +01:00
2026-11-25 11:02:24 +03:30
2026-11-26 12:10:11 +03:30
2026-11-24 23:52:09 +03:30
2026-11-13 19:55:21 +01:00
2026-11-24 03:33:44 +03:30
2026-11-13 19:55:21 +01:00
2026-11-28 17:43:35 +03:30
2026-11-25 11:02:24 +03:30
2026-11-28 06:42:26 +03:30
2026-11-28 06:42:26 +03:30
2026-11-28 06:42:26 +03:30
2026-11-24 22:16:16 +03:30
2026-11-28 17:43:35 +03:30