Skip to content

增加工作空间内核伺服锁 #6811

Closed
@88250

Description

@88250

一个工作空间只能被一个内核进程伺服,避免造成文件冲突和数据库占用。

启动时先获取工作空间路径下的 .lock 文件锁,能够获取锁的话再继续启动,否则退出内核进程(code 24)。

Activity

added this to the 2.5.4 milestone on Dec 7, 2022
self-assigned this
on Dec 7, 2022
added a commit that references this issue on Dec 7, 2022
changed the title [-]增加工作空间锁[/-] [+]增加工作空间内核伺服锁[/+] on Dec 8, 2022
88250

88250 commented on Dec 8, 2022

@88250
MemberAuthor

改了一下标题,不然可能会被误解为加密工作空间 😂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @88250

      Issue actions

        增加工作空间内核伺服锁 · Issue #6811 · siyuan-note/siyuan