♻️ 升级 Electron Fix https://github.com/siyuan-note/siyuan/issues/7158
This commit is contained in:
parent
8647c93142
commit
95c5c1d8ae
1 changed files with 2 additions and 2 deletions
|
@ -112,7 +112,7 @@ const (
|
|||
|
||||
func StatusLoop() {
|
||||
for {
|
||||
time.Sleep(1000 * time.Millisecond)
|
||||
time.Sleep(5 * time.Second)
|
||||
tasks := taskQueue
|
||||
data := map[string]interface{}{}
|
||||
var items []map[string]interface{}
|
||||
|
@ -132,7 +132,7 @@ func StatusLoop() {
|
|||
data["tasks"] = items
|
||||
util.PushBackgroundTask(data)
|
||||
if 0 < len(tasks) {
|
||||
time.Sleep(1000 * time.Millisecond)
|
||||
time.Sleep(5 * time.Second)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue