-
Notifications
You must be signed in to change notification settings - Fork 1.3k
CSHARP-3538: CSOT: Auth #1720
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
base: main
Are you sure you want to change the base?
CSHARP-3538: CSOT: Auth #1720
Conversation
CSHARP-3545: CSOT: MongoDB Handshake CSHARP-3548: CSOT: Server Discovery and Monitoring
readTimeout: heartbeatSocketTimeout, | ||
writeTimeout: heartbeatSocketTimeout | ||
readTimeout: null, | ||
writeTimeout: null |
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.
Do not have to set the timeouts on the stream level, now we are using OperationContext to enforce the timeouts.
@@ -32,12 +31,10 @@ internal interface IConnection : IDisposable | |||
bool IsExpired { get; } | |||
ConnectionSettings Settings { get; } | |||
|
|||
// TODO: CSOT: remove this in scope of MongoDB Handshake | |||
void SetReadTimeout(TimeSpan timeout); |
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.
This method was used in a single place, where we were setting the timeout for streaming heartbeat. Now we are using OperationContext instead.
This PR contains changes related to multiple CSOT-related tickets: