-
Notifications
You must be signed in to change notification settings - Fork 27
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
allReady
does not work.
#20
Comments
Hello @ElvishJerricco , I would like to know if this issue is related to setTimers problem. I am retaking subs-cache maintenance and would like to know if it is still an issue. |
Sorry, this project has mostly left my brain. I don't think I can help much. |
@ElvishJerricco Thanks for your prompt answer, I am closing the issue for now. Best Regards. |
Has anyone found a solution? Looks like I'm having the same issue. |
Reopening until I confirm there is no issue with new JS version. |
Any fix planned? Thanks! |
When checking on #41 and tried with latest code, |
Thanks a lot @nicooprat |
To be more precise, it's now reactive, but sometimes _(Subs.cache).chain().values().map((x) => x.ready()).reduce((a,b) => a && b).value()
Edit: |
Hello, |
Yes, looks like... It happens sometimes, can't get a reproducible test case for now :/ |
This happens reliably in [/currency/:slug] of blockrazor on Blockrazor/blockrazor#1052 (at that commit cache limit is 10, and that pages has over that amount of subscriptions in total, also routes.js subscriptions property for that route contains bad subscription for "summaries". |
We have seen different behavior than can be originated from this component and seems to be related to Meteor update, mainly the differences come when upgrading from Meteor 1.5.x to 1.6.x. Here we have no more information on how to reproduce int this, we are currently still trying to find the specific code woth problem. |
Blockrazor/blockrazor#1052 reproduces this on route [/currency/:slug]. |
Same problem over here. Subscribing like
Problem: globalSubscriptionManager.ready() acts unreliable and after clicking a few links in the ui returns "false" |
Do you have more information on how to reproduce it? It would be helpful. |
Hi guys, just letting you know: I switched to using the original https://github.com/kadirahq/subs-manager which works much more stable for me. There seems to be something wrong in the codebase. For me it is The bug exists in this package and also in https://atmospherejs.com/blockrazor/subscache-c4. |
Hello @thebarty, Sorry but what globalSubscriptionManager do you mean? |
Closing again for now, after PR from @ulion Thank you. |
With subs-cache 0.1.0 and meteor 1.2 or 1.3, it appears that the
allReady
reactive variable is not successfully set when subscriptions become ready.The text was updated successfully, but these errors were encountered: