more grain locks
All checks were successful
Build and Publish / BuildAndDeploy (push) Successful in 1m52s
All checks were successful
Build and Publish / BuildAndDeploy (push) Successful in 1m52s
This commit is contained in:
@@ -111,7 +111,8 @@ func (c *CartGrain) AddItem(sku string, qty int) ([]byte, error) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (c *CartGrain) GetStorageMessage(since int64) []StorableMessage {
|
func (c *CartGrain) GetStorageMessage(since int64) []StorableMessage {
|
||||||
|
c.mu.RLock()
|
||||||
|
defer c.mu.RUnlock()
|
||||||
ret := make([]StorableMessage, 0)
|
ret := make([]StorableMessage, 0)
|
||||||
|
|
||||||
for _, message := range c.storageMessages {
|
for _, message := range c.storageMessages {
|
||||||
|
|||||||
Reference in New Issue
Block a user