mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 14:40:12 +01:00
🎨 Add internal kernel API /api/sqlite/flushTransaction https://github.com/siyuan-note/siyuan/issues/10005
This commit is contained in:
parent
84aea8cd2f
commit
c3b3e25f4a
1 changed files with 1 additions and 0 deletions
|
|
@ -31,6 +31,7 @@ func flushTransaction(c *gin.Context) {
|
||||||
ret := gulu.Ret.NewResult()
|
ret := gulu.Ret.NewResult()
|
||||||
defer c.JSON(http.StatusOK, ret)
|
defer c.JSON(http.StatusOK, ret)
|
||||||
|
|
||||||
|
model.FlushTxQueue()
|
||||||
sql.FlushQueue()
|
sql.FlushQueue()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue