mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-02-28 05:32:52 +00:00
🎨 桌面端内核进程使用随机端口 https://github.com/siyuan-note/siyuan/issues/4952
This commit is contained in:
@@ -630,7 +630,7 @@ const initKernel = (initData) => {
|
||||
await sleep(100)
|
||||
} finally {
|
||||
count++
|
||||
if (32 < count) {
|
||||
if (64 < count) {
|
||||
writeLog('get kernel port failed [pid=' + kernelProcessPid + ']')
|
||||
bootWindow.destroy()
|
||||
resolve(false)
|
||||
|
||||
Reference in New Issue
Block a user