Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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

Merged
zeryx merged 2 commits intodevelopalgorithmiaio/algorithmia-python:developfrom
retry-publishalgorithmiaio/algorithmia-python:retry-publishCopy head branch name to clipboard
Aug 3, 2022
Merged

added a retry mechanic to PostJsonHelper to avoid 400 error issues#130
zeryx merged 2 commits intodevelopalgorithmiaio/algorithmia-python:developfrom
retry-publishalgorithmiaio/algorithmia-python:retry-publishCopy head branch name to clipboard

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

Comments

Close sidebar
Morty Proxy This is a proxified and sanitized view of the page, visit original site.