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

Fix for TimeOut issue #118

Merged
merged 2 commits into from
May 9, 2024
Merged

Fix for TimeOut issue #118

merged 2 commits into from
May 9, 2024

Conversation

Jithesh-poojary
Copy link
Collaborator

A fix for Timeout is included in this PR.

  1. The code has been updated to break when an unauthorized status code is received.

  2. Removed workflowexecutor as a mediator for API calls.

@Jithesh-poojary Jithesh-poojary requested a review from v1r3n May 8, 2024 13:21
{
break;
}
break;
Copy link
Member

Choose a reason for hiding this comment

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

this effectively removes the while loop right? Or will it still do a retry to refresh the token until the max retry count is exhausted?

Copy link
Collaborator

Choose a reason for hiding this comment

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

@v1r3n It would retry on a expired token scenario; any other exception would exit to loop

@v1r3n v1r3n merged commit 97fdb17 into conductor-sdk:main May 9, 2024
1 of 2 checks passed
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