From e986a133f80b6b1fb231887806f4853edd540d7b Mon Sep 17 00:00:00 2001 From: Andrew Smirnov <72158444+sandrew-uj@users.noreply.github.com> Date: Sun, 19 Apr 2026 22:37:34 +0300 Subject: Add new hourly reset traffic (#3966) * Add new hourly reset traffic * fix --- web/job/periodic_traffic_reset_job.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'web/job') 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) } -- cgit v1.2.3