diff --git a/cart-grain.go b/cart-grain.go index 8998d69..277cfb8 100644 --- a/cart-grain.go +++ b/cart-grain.go @@ -236,7 +236,7 @@ func (c *CartGrain) Apply(content interface{}, isReplay bool) (*CartGrain, error if updated != nil && !isReplay { c.lastChange = time.Now() c.lastAccess = time.Now() - _ = AppendCartEvent(c.Id, content) + go AppendCartEvent(c.Id, content) } return updated, nil