Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resolve batch with pending values as well #121

Merged
merged 1 commit into from
Feb 7, 2025
Merged

Conversation

Xiphe
Copy link
Collaborator

@Xiphe Xiphe commented Feb 7, 2025

this solves an issue where cachified would never resolve when two batches were executed in parallel with partially overlapping keys

fix #119

this solves an issue where cachified would never resolve when
two batches were executed in parallel with partially overlapping keys

fix #119
@Xiphe
Copy link
Collaborator Author

Xiphe commented Feb 7, 2025

Note to self: This batch-notify design seems not well thought through as we now need to remember that whenever we handle a call without calling getFreshValue, we need to inform the batch about it. Pretty sure there are better designs for this :)

@Xiphe Xiphe merged commit b038f3a into main Feb 7, 2025
4 checks passed
@Xiphe Xiphe deleted the fix-pending-value-batch branch February 7, 2025 11:20
Copy link

github-actions bot commented Feb 7, 2025

🎉 This PR is included in version 5.2.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bug in Batch requesting
1 participant