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

Add retries for get payload #340

Merged
merged 4 commits into from
Mar 8, 2023
Merged

Add retries for get payload #340

merged 4 commits into from
Mar 8, 2023

Conversation

avalonche
Copy link
Collaborator

πŸ“ Summary

Resolves issue #323 allowing getPayload to retry the call on errors, as long as it's below the configured timeout

β›± Motivation and Context

Improves reliability of the getPayload call

πŸ“š References


βœ… I have run these commands

  • make lint
  • make test-race
  • go mod tidy

@codecov-commenter
Copy link

codecov-commenter commented Sep 21, 2022

Codecov Report

Merging #340 (dcd75c5) into main (19a5221) will increase coverage by 1.09%.
The diff coverage is 92.50%.

πŸ“£ This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

@@            Coverage Diff             @@
##             main     #340      +/-   ##
==========================================
+ Coverage   67.69%   68.79%   +1.09%     
==========================================
  Files           8        8              
  Lines        1226     1266      +40     
==========================================
+ Hits          830      871      +41     
+ Misses        347      345       -2     
- Partials       49       50       +1     
Flag Coverage Ξ”
unittests 68.79% <92.50%> (+1.09%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Ξ”
server/utils.go 82.46% <89.28%> (+1.51%) ⬆️
server/mock_relay.go 88.44% <100.00%> (+2.57%) ⬆️
server/service.go 75.79% <100.00%> (+0.18%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

server/utils.go Outdated Show resolved Hide resolved
server/utils.go Outdated Show resolved Hide resolved
server/utils.go Outdated Show resolved Hide resolved
@metachris metachris added the in development πŸ› οΈ not yet ready to be merged label Oct 7, 2022
@metachris metachris added the next up It's next up label Dec 9, 2022
@avalonche avalonche force-pushed the add-get-payload-retries branch from efb8d6f to 0e6a53a Compare March 6, 2023 16:34
@avalonche avalonche force-pushed the add-get-payload-retries branch from 0e6a53a to a9aa8ec Compare March 6, 2023 16:38
@avalonche avalonche force-pushed the add-get-payload-retries branch from a9aa8ec to dcd75c5 Compare March 6, 2023 16:40
@avalonche avalonche force-pushed the add-get-payload-retries branch from 7a0ee10 to 93106f0 Compare March 6, 2023 17:26
server/service.go Outdated Show resolved Hide resolved
server/service.go Outdated Show resolved Hide resolved
server/utils.go Outdated Show resolved Hide resolved
server/utils.go Outdated Show resolved Hide resolved
@avalonche avalonche force-pushed the add-get-payload-retries branch from a58295d to eeb0a1b Compare March 7, 2023 17:05
jtraglia
jtraglia previously approved these changes Mar 7, 2023
Copy link
Collaborator

@jtraglia jtraglia left a comment

Choose a reason for hiding this comment

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

LGTM πŸ‘

Copy link
Collaborator

@jtraglia jtraglia left a comment

Choose a reason for hiding this comment

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

Still LGTM πŸ‘

@metachris metachris merged commit 1f94c08 into main Mar 8, 2023
@metachris metachris deleted the add-get-payload-retries branch March 8, 2023 10:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in development πŸ› οΈ not yet ready to be merged next up It's next up
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants