mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
[GH-ISSUE #3810] Subscription update incorrectly triggers usage timer before actual first use #2574
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#2574
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?
Originally created by @Takoyek on GitHub (Feb 15, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/3810
Describe the bug
After the first subscription update, the usage timer starts immediately even though no real usage has happened. It was only a subscription check, not actual traffic usage.
Suggestion: Only start the timer after the config has actually used some real traffic (for example, more than 1 MB).
How to repeat the problem?
Expected action
The timer should start only after real usage begins (for example, after more than 1 MB of actual traffic).
Received action
The timer starts right after the subscription check, even without any real usage.
3x-ui Version
2.8.10
Xray-core Version
26.2.6
Checklist