From c81e2f8f129c98afefc859e06d128df5ee362835 Mon Sep 17 00:00:00 2001 From: Ember Moth Date: Fri, 22 May 2026 19:54:38 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9Atraffic=20threshold=20unit=20conver?= =?UTF-8?q?sion?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/user.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/user.go b/core/user.go index 49eaa9a..063e62e 100644 --- a/core/user.go +++ b/core/user.go @@ -83,7 +83,7 @@ func (vc *XrayCore) GetUserTrafficSlice(tag string, mintraffic int) ([]panel.Use traffic := value.(*counter.TrafficStorage) up := traffic.UpCounter.Load() down := traffic.DownCounter.Load() - if up+down > int64(mintraffic*1000) { + if up+down > int64(mintraffic) { traffic.UpCounter.Store(0) traffic.DownCounter.Store(0) if vc.users.uidMap[email] == 0 {