-
Notifications
You must be signed in to change notification settings - Fork 93
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
ref(server): Re-authenticate at regular intervals #731
Conversation
Abandoned splitting UpstreamRelay actor in two. |
Co-authored-by: Jan Michael Auer <mail@jauer.org>
@RaduW Updated the PR as per our offline discussion:
There's now a TODO for the follow-up PR to start authenticating on network errors if authentication is not already in progress. |
@@ -533,6 +539,8 @@ impl Default for Http { | |||
connection_timeout: 3, | |||
max_retry_interval: 60, | |||
host_header: None, | |||
auth_interval: 60, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As long as we don't have all PRs impld and merged I would make the entire new behavior opt-in.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@tonyo I think we need to reconsider the default values for reauthenticating. At the moment it is 60s with a 10s grace period. The grace period is fine, but I think we should increase the interval.
Relay now retries to authenticate at regular intervals instead
of only at startup.