🐛 macOS 端报错 数据库被锁定
Fix https://github.com/siyuan-note/siyuan/issues/6492
This commit is contained in:
parent
afa8aed172
commit
56c671b0a8
1 changed files with 1 additions and 1 deletions
|
@ -560,7 +560,7 @@ const initKernel = (initData) => {
|
|||
switch (code) {
|
||||
case 20:
|
||||
showErrorWindow('⚠️ 数据库被锁定 The database is locked',
|
||||
`<div>数据库文件正在被其他程序锁定。如果你使用了第三方同步盘,请在思源运行期间关闭同步。</div><div>The database file is being locked by another program. If you use a third-party sync disk, please turn off sync while SiYuan is running.</div>`)
|
||||
`<div>数据库文件正在被其他进程占用,请检查是否同时存在多个内核进程(SiYuan Kernel)。</div><div>The database file is being occupied by other processes, please check whether there are multiple kernel processes (SiYuan Kernel) at the same time.</div>`)
|
||||
break
|
||||
case 21:
|
||||
showErrorWindow('⚠️ 监听端口 ' + kernelPort + ' 失败 Failed to listen to port ' + kernelPort,
|
||||
|
|
Loading…
Add table
Reference in a new issue