♻️ 重构定时任务实现 Fix https://github.com/siyuan-note/siyuan/issues/7171
This commit is contained in:
parent
89ed7f2ad9
commit
1c210693a6
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ func StartCron() {
|
|||
func every(interval time.Duration, f func()) {
|
||||
for {
|
||||
func() {
|
||||
logging.Recover()
|
||||
defer logging.Recover()
|
||||
f()
|
||||
}()
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue