Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: 桌面端内核进程使用随机端口 https://github.com/siyuan-note/siyuan/issues/4952

Liang Dingc61ba7b2d73b
diff --git a/app/electron/main.js b/app/electron/main.js
index 7777ff20c7..71413c534e 100644
--- a/app/electron/main.js
+++ b/app/electron/main.js
@@ -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)