Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/web/job
diff options
context:
space:
mode:
authorAndrew Smirnov <72158444+sandrew-uj@users.noreply.github.com>2026-04-19 22:37:34 +0300
committerGitHub <noreply@github.com>2026-04-19 22:37:34 +0300
commite986a133f80b6b1fb231887806f4853edd540d7b (patch)
treee1ef901abe2137a4cbe0d16596dc8cc820f8d903 /web/job
parent7466916e0206d55826d74f37c251bb5e40182c00 (diff)
Add new hourly reset traffic (#3966)
* Add new hourly reset traffic * fix
Diffstat (limited to 'web/job')
-rw-r--r--web/job/periodic_traffic_reset_job.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/job/periodic_traffic_reset_job.go b/web/job/periodic_traffic_reset_job.go
index 6a7fb6f2..48aab2a1 100644
--- a/web/job/periodic_traffic_reset_job.go
+++ b/web/job/periodic_traffic_reset_job.go
@@ -37,7 +37,7 @@ func (j *PeriodicTrafficResetJob) Run() {
resetCount := 0
for _, inbound := range inbounds {
- resetInboundErr := j.inboundService.ResetAllTraffics()
+ resetInboundErr := j.inboundService.ResetInboundTraffic(inbound.Id)
if resetInboundErr != nil {
logger.Warning("Failed to reset traffic for inbound", inbound.Id, ":", resetInboundErr)
}