Skip to content

could not visit CacheItem.Data in AboutToExpireCallback#28

Open
xiehuc wants to merge 1 commit intomuesli:masterfrom
xiehuc:master
Open

could not visit CacheItem.Data in AboutToExpireCallback#28
xiehuc wants to merge 1 commit intomuesli:masterfrom
xiehuc:master

Conversation

@xiehuc
Copy link

@xiehuc xiehuc commented Mar 27, 2019

AboutToExipreCallback arg is key interface{}, if i try get value by table.Value(key)

because AboutToExipreCallback have table.Lock()

and table.Value() have table.RLock()

so, dead locked.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant