You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To make it 100% correct the whole logic of the Get function should be put behind a lock. One way to do this is to move everything under the singleFlight call
The text was updated successfully, but these errors were encountered:
advoretsky
pushed a commit
to advoretsky/gocache
that referenced
this issue
Feb 11, 2025
After the work done under
the code of the loadable cache still doesn't completely prevent double calls to the loading function.
To make it 100% correct the whole logic of the Get function should be put behind a lock. One way to do this is to move everything under the singleFlight call
The text was updated successfully, but these errors were encountered: