mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-19 08:00:13 +01:00
♻️ 升级 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() {
|
func StatusLoop() {
|
||||||
for {
|
for {
|
||||||
time.Sleep(1000 * time.Millisecond)
|
time.Sleep(5 * time.Second)
|
||||||
tasks := taskQueue
|
tasks := taskQueue
|
||||||
data := map[string]interface{}{}
|
data := map[string]interface{}{}
|
||||||
var items []map[string]interface{}
|
var items []map[string]interface{}
|
||||||
|
|
@ -132,7 +132,7 @@ func StatusLoop() {
|
||||||
data["tasks"] = items
|
data["tasks"] = items
|
||||||
util.PushBackgroundTask(data)
|
util.PushBackgroundTask(data)
|
||||||
if 0 < len(tasks) {
|
if 0 < len(tasks) {
|
||||||
time.Sleep(1000 * time.Millisecond)
|
time.Sleep(5 * time.Second)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue