This commit is contained in:
Daniel 2024-11-02 14:53:40 +08:00
parent 1900b935aa
commit 94e28c8e64
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -1270,9 +1270,13 @@ func upsertAvBlockRel(node *ast.Node) {
}
affectedAvIDs = gulu.Str.RemoveDuplicatedElem(affectedAvIDs)
for _, avID := range affectedAvIDs {
ReloadAttrView(avID)
}
go func() {
time.Sleep(100 * time.Millisecond)
sql.FlushQueue()
for _, avID := range affectedAvIDs {
ReloadAttrView(avID)
}
}()
}
func (tx *Transaction) doUpdateUpdated(operation *Operation) (ret *TxErr) {