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

[FSSDK-11212] Update code to retry web API calls for fetching datafile and pushing events #445

Merged
merged 14 commits into from
Feb 26, 2025

Conversation

pvcraven
Copy link
Contributor

@pvcraven pvcraven commented Feb 24, 2025

Summary

  • Retry connections for posting events and pulling datafiles.
    • By default, 3 attempts to get datafile. (Configurable)
    • Twice to send event data. (Non-configurable)
  • Fix for mypy issue, as mypy updated and is no longer happy

Test plan

  • Unit tests
  • Test actual sdk

Issues

Copy link
Contributor

@jaeopt jaeopt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good except for the wrong value for event retries

Copy link
Contributor

@Mat001 Mat001 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@pvcraven pvcraven requested a review from jaeopt February 25, 2025 20:52
Copy link
Contributor

@jaeopt jaeopt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@pvcraven pvcraven merged commit d098f9a into master Feb 26, 2025
23 checks passed
@pvcraven pvcraven deleted the pvcraven-FSSDK-11212 branch February 26, 2025 18:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants