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

AmqpSettings.IdleTimeout int to uint #577

Conversation

optimuserik
Copy link

Change the default AmqpSettings.IdleTimeout from int to uint.
Chenge the initialization from int.MaxValue to uint.MaxValue

Copy link
Author

@optimuserik optimuserik left a comment

Choose a reason for hiding this comment

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

@microsoft-github-policy-service agree

@optimuserik
Copy link
Author

@microsoft-github-policy-service agree

1 similar comment
@optimuserik
Copy link
Author

@microsoft-github-policy-service agree

@optimuserik
Copy link
Author

@microsoft-github-policy-service rerun

@xinchen10
Copy link
Member

Unfortunately this is a breaking change which we are trying to avoid as much as possible.

Let me check the feasibility of still using an int type but allowing negative values, with "-1" being the special case for infinite (no timeout).

@xinchen10
Copy link
Member

@optimuserik I made a change to allow using -1 for infinite idle timeout. Can you verify if that resolves the issue you observed?

@optimuserik
Copy link
Author

@xinchen10 It does solve the issue. Thank you :) .
I will abandon this PR and mark the problem solved with your commit.
Awaiting the release.

@optimuserik optimuserik closed this Jan 3, 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

2 participants