mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 14:40:12 +01:00
🎨 Supports local shorthands on Android https://github.com/siyuan-note/siyuan/issues/14414
This commit is contained in:
parent
fde9cbe1cc
commit
fc43a81286
2 changed files with 5 additions and 1 deletions
|
|
@ -44,7 +44,9 @@ func StartCron() {
|
|||
go every(30*time.Second, model.HookDesktopUIProcJob)
|
||||
go every(24*time.Hour, model.AutoPurgeRepoJob)
|
||||
go every(30*time.Minute, model.AutoCheckMicrosoftDefender)
|
||||
go every(3*time.Second, model.WatchLocalShorthands)
|
||||
|
||||
// TODO: 移除旧方案 https://github.com/siyuan-note/siyuan/issues/14414 实现新的刷新机制
|
||||
//go every(3*time.Second, model.WatchLocalShorthands)
|
||||
}
|
||||
|
||||
func every(interval time.Duration, f func()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue