Compare commits

..

1 Commits

Author SHA1 Message Date
yanweidong fc7c1e87a6 fix licence watch 2025-05-28 15:58:28 +08:00
1 changed files with 3 additions and 3 deletions

View File

@ -69,13 +69,13 @@ func init() {
}
func WatchCheckLicence(licPath, licName string) {
for {
utils.SetInterval(func() {
if CheckLicence(licPath, licName) == false {
log.Println("授权文件失效,请重新部署授权文件:", licPath)
os.Exit(99)
}
time.Sleep(time.Hour * 1)
}
}, time.Hour*1)
}
// --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------