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

Feat / retry reload subscription #147

Closed
wants to merge 64 commits into from

Conversation

royschut
Copy link

@royschut royschut commented Feb 28, 2024

Retry reload subscription

After buying/updating a subscription, we reload the subscriptions. In some places we use a delay for this, to make sure the backend is ready, but the length of this delay is just a guess of course. I found it a much better and more safe approach to use a retry mechanism in case there is no subscription returned yet. You can still use the (initial) delay, to prevent too many calls (for example after the switchSubscription call, where we had a delay of 7500ms).

Notes

  • Do we find it safe to merge this on rework day?

VincentCouzij and others added 30 commits February 22, 2024 15:26
Co-authored-by: Mike van Veenhuijzen <[email protected]>
Base automatically changed from rework/sprint-3-rs to feat/sprint-3 February 28, 2024 15:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants