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
{{ message }}
Repository navigation
When there is a cache miss, multiple singleflight calls may be scheduled and all executed. #9
Since there is a tiny gap between checking the cache and scheduling a singleflight call, concurrent calls for the same key may schedule multiple singleflight calls.
See #8 for a test and potential fix (to re-check the cache once inside singleflight).
Activity
zalenskivolt commentedon Oct 6, 2026
note: this was found when a test was failing, so it can happen, even if rare…