mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-03-02 19:00:15 +01:00
🎨 Improve the marketplace refresh timer https://github.com/siyuan-note/siyuan/issues/14685
This commit is contained in:
parent
9c970b1bdc
commit
85934230ac
4 changed files with 7 additions and 3 deletions
|
|
@ -215,7 +215,6 @@ var (
|
|||
)
|
||||
|
||||
func RefreshCheckJob() {
|
||||
go util.GetRhyResult(true) // 发一次请求进行结果缓存
|
||||
go refreshSubscriptionExpirationRemind()
|
||||
go refreshUser()
|
||||
go refreshAnnouncement()
|
||||
|
|
|
|||
|
|
@ -87,7 +87,7 @@ func AddMicrosoftDefenderExclusion() (err error) {
|
|||
return
|
||||
}
|
||||
|
||||
func AutoCheckMicrosoftDefender() {
|
||||
func AutoCheckMicrosoftDefenderJob() {
|
||||
time.Sleep(7 * time.Second)
|
||||
microsoftDefenderLock.Lock()
|
||||
defer microsoftDefenderLock.Unlock()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue