Improve DB performance

This commit is contained in:
Alireza Ahmadi
2023-06-04 16:40:59 +02:00
parent fc84ddc6c1
commit 04aaf94016
2 changed files with 52 additions and 18 deletions

View File

@@ -161,7 +161,7 @@ func (s *XrayService) RestartXray(isForce bool) error {
if p != nil && p.IsRunning() {
if !isForce && p.GetConfig().Equals(xrayConfig) {
logger.Debug("not need to restart xray")
logger.Debug("It does not need to restart xray")
return nil
}
p.Stop()