mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-03 15:28:49 +01:00
🎨 细化云端同步锁提升稳定性 https://github.com/siyuan-note/siyuan/issues/5887
This commit is contained in:
parent
7bc8fba466
commit
90f45a420e
15 changed files with 79 additions and 81 deletions
|
|
@ -40,8 +40,6 @@ import (
|
|||
"github.com/siyuan-note/siyuan/kernel/util"
|
||||
)
|
||||
|
||||
var writingDataLock = sync.Mutex{}
|
||||
|
||||
func IsFoldHeading(transactions *[]*Transaction) bool {
|
||||
if 1 == len(*transactions) && 1 == len((*transactions)[0].DoOperations) {
|
||||
if op := (*transactions)[0].DoOperations[0]; "foldHeading" == op.Action {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue