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

retry Salesforce access token requests #401

Merged
merged 1 commit into from
Dec 17, 2019
Merged

Conversation

x110dc
Copy link
Contributor

@x110dc x110dc commented Dec 17, 2019

What's this PR do?

Retries requests to retrieve an access token from Salesforce.

Why are we doing this? How does it help us?

Starting five days ago Salesforce OAuth token API requests started failing intermittently. Previously this happened so infrequently that it could the errors could be handled manually. Now they are happening much more frequently necessitating a different solution. This helps us by making it so I don't have to re-run the batch job multiple times to get it to complete every day and so that we don't have to clean up after incomplete runs.

How should this be manually tested?

I don't know of a good way to test it since this is only happening in production. Run a couple of sample transactions through and make sure they appear in Slack and Salesforce.

How should this change be communicated to end-users?

N/A

Are there any smells or added technical debt to note?

No.

What are the relevant tickets?

Off-sprint.

Have you done the following, if applicable:

(optional: add explanation between parentheses)

  • Added automated tests? ( )
  • Tested manually on mobile? ( )
  • Checked BrowserStack? ( )
  • Checked for performance implications? ( )
  • Checked accessibility? ( )
  • Checked for security implications? ( )
  • Updated the documentation/wiki? ( )

TODOs / next steps:

  • your TODO here

Copy link
Contributor

@AndrewGibson27 AndrewGibson27 left a comment

Choose a reason for hiding this comment

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

Payments on /donate, /circle and /business all worked. LGTM.

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.

None yet

2 participants