Skip to content

added a retry mechanic to PostJsonHelper to avoid 400 error issues #130

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

Merged
merged 2 commits into from
Aug 3, 2022

Conversation

zeryx
Copy link
Contributor

@zeryx zeryx commented Aug 3, 2022

In some instances, the /compile and publish endpoints may fail with a 400 error if interacted with too quickly or based off of the order of operations in a stateful operation. In order to get around this quickly, this fix simply allows for the publish and compile endpoints to retry once, which may fix some state problems that affect user use cases. Not a long term solution, but should work for the moment.

@zeryx zeryx requested a review from aslisabanci August 3, 2022 15:33
@zeryx zeryx self-assigned this Aug 3, 2022
aslisabanci
aslisabanci previously approved these changes Aug 3, 2022
@zeryx zeryx requested a review from aslisabanci August 3, 2022 15:43
@zeryx zeryx merged commit 31f0e90 into develop Aug 3, 2022
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.

2 participants