revert back to normal restart inbounds
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user