mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 14:40:12 +01:00
♻️ 重构定时任务实现 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
Add a link
Reference in a new issue