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

Implement Broker Redirects for Session and Messages #3103

Merged
merged 19 commits into from
Jan 30, 2024

Conversation

luketomlinson
Copy link
Contributor

No description provided.

@luketomlinson luketomlinson marked this pull request as ready for review January 19, 2024 21:41
@luketomlinson luketomlinson requested a review from a team as a code owner January 19, 2024 21:41
@@ -36,13 +44,129 @@ public override void Initialize(IHostContext hostContext)

public async Task<Boolean> CreateSessionAsync(CancellationToken token)
{
await RefreshBrokerConnection();
return await Task.FromResult(true);
Trace.Entering();
Copy link
Contributor Author

Choose a reason for hiding this comment

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

this is all copied from MessageListener. Eventually, one of these will be deprecated, but keeping them in sync for now

@@ -196,6 +321,72 @@ private bool IsGetNextMessageExceptionRetriable(Exception ex)
}
}

private bool IsSessionCreationExceptionRetriable(Exception ex)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

also copied

@luketomlinson luketomlinson enabled auto-merge (squash) January 30, 2024 20:52
@luketomlinson luketomlinson merged commit 894c500 into main Jan 30, 2024
9 checks passed
@luketomlinson luketomlinson deleted the luketomlinson/broker-redirects branch January 30, 2024 20:57
AdamOlech pushed a commit to antmicro/runner that referenced this pull request Aug 14, 2024
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.

None yet

3 participants