revert back to normal restart inbounds

This commit is contained in:
Alireza Ahmadi
2025-07-18 19:47:29 +02:00
parent fe4fa9b9e6
commit c2d33d2a1e
10 changed files with 4 additions and 760 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ func (s *DepleteJob) Run() {
return
}
if len(inboundIds) > 0 {
err := s.InboundService.UpdateUsers(database.GetDB(), inboundIds)
err := s.InboundService.RestartInbounds(database.GetDB(), inboundIds)
if err != nil {
logger.Error("unable to restart inbounds: ", err)
}