🎨 桌面端支持同时打开多个工作空间 https://github.com/siyuan-note/siyuan/issues/4567
This commit is contained in:
parent
5c60719c4c
commit
77d369e26f
2 changed files with 2 additions and 2 deletions
|
@ -900,6 +900,7 @@ powerMonitor.on('suspend', () => {
|
|||
})
|
||||
|
||||
powerMonitor.on('resume', async () => {
|
||||
// 桌面端系统休眠唤醒后判断网络连通性后再执行数据同步 https://github.com/siyuan-note/siyuan/issues/6687
|
||||
writeLog('system resume')
|
||||
const isOnline = async () => {
|
||||
try {
|
||||
|
@ -931,7 +932,6 @@ powerMonitor.on('resume', async () => {
|
|||
}
|
||||
|
||||
writeLog('sync after system resume')
|
||||
// 桌面端系统休眠唤醒后同步延时 7s 后再执行 https://github.com/siyuan-note/siyuan/issues/6687
|
||||
fetch(getServer() + '/api/sync/performSync', {method: 'POST'})
|
||||
})
|
||||
|
||||
|
|
|
@ -108,7 +108,7 @@ func Serve(fastMode bool) {
|
|||
rewritePortJSON(pid, port)
|
||||
}
|
||||
|
||||
logging.LogInfof("kernel [pid=%s] is booting [%s]", pid, "http://"+util.LocalHost+":"+port)
|
||||
logging.LogInfof("kernel [pid=%s] http server is booting [%s]", pid, "http://"+util.LocalHost+":"+port)
|
||||
util.HttpServing = true
|
||||
|
||||
go func() {
|
||||
|
|
Loading…
Add table
Reference in a new issue