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(target): Assign session connection limit to SessionAuthorization.ConnectionLimit #5396

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

dkanney
Copy link
Collaborator

@dkanney dkanney commented Dec 23, 2024

We weren’t assigning the session connection limit we got from the DB to the ConnectionLimit field on the SessionAuthorization response object before returning from AuthorizeSession [link] (funnily enough, we do assign to ConnectionLimit in a similar object, SessionAuthorizationData – but it gets marshalled into an auth token..).

As a result, the connection limit has a default value of 0 when the connect cmd prints the session info

@dkanney dkanney added this to the 0.19.x milestone Dec 23, 2024
@dkanney
Copy link
Collaborator Author

dkanney commented Dec 23, 2024

TODO:

  • Add test case
  • Backport to 0.15.x?

@dkanney dkanney modified the milestones: 0.19.x, 0.15.x Dec 23, 2024
@dkanney dkanney marked this pull request as ready for review December 26, 2024 20:19
@dkanney dkanney requested a review from a team as a code owner December 26, 2024 20:19
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.

1 participant