This commit is contained in:
Liang Ding 2023-01-27 12:32:47 +08:00
parent 89ed7f2ad9
commit 1c210693a6
No known key found for this signature in database
GPG key ID: 136F30F901A2231D

View file

@ -47,7 +47,7 @@ func StartCron() {
func every(interval time.Duration, f func()) {
for {
func() {
logging.Recover()
defer logging.Recover()
f()
}()