diff options
| author | Andrew Smirnov <72158444+sandrew-uj@users.noreply.github.com> | 2026-04-19 22:37:34 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-04-19 22:37:34 +0300 |
| commit | e986a133f80b6b1fb231887806f4853edd540d7b (patch) | |
| tree | e1ef901abe2137a4cbe0d16596dc8cc820f8d903 /web/job | |
| parent | 7466916e0206d55826d74f37c251bb5e40182c00 (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.go | 2 |
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) } |
