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

Refresh auth token when it expires #5039

Merged
merged 3 commits into from
Nov 20, 2019
Merged

Refresh auth token when it expires #5039

merged 3 commits into from
Nov 20, 2019

Conversation

FlorianVeaux
Copy link
Member

For long running versions of the cisco check, the auth token we use might need to be refreshed. By default it expires after 10min, let's make sure that when any request fail we re-authenticate and retry the request.

@FlorianVeaux
Copy link
Member Author

Has been tested successfully but still needs a unit test.

@FlorianVeaux FlorianVeaux merged commit 8e8ec03 into master Nov 20, 2019
@FlorianVeaux FlorianVeaux deleted the flo/fix_cisco branch November 20, 2019 15:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants