mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-02-28 05:32:52 +00:00
🎨 Add internal kernel API /api/sqlite/flushTransaction https://github.com/siyuan-note/siyuan/issues/10005
This commit is contained in:
@@ -31,6 +31,7 @@ func flushTransaction(c *gin.Context) {
|
||||
ret := gulu.Ret.NewResult()
|
||||
defer c.JSON(http.StatusOK, ret)
|
||||
|
||||
model.FlushTxQueue()
|
||||
sql.FlushQueue()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user