DDoS防护增加秒级连接速率限制

This commit is contained in:
刘祥超
2022-08-31 10:00:38 +08:00
parent 8bba228745
commit 64e0ae80b7
2 changed files with 60 additions and 38 deletions

View File

@@ -35,7 +35,7 @@ func Sync() error {
ntpdate, err := exec.LookPath("ntpdate")
if err != nil {
return err
return nil
}
if len(ntpdate) > 0 {
return syncNtpdate(ntpdate)