-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Deprecate options: maxTimeMS, maxCommitTimeMS for CRUD methods. #1277
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
Conversation
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.
Looking good - Can you also add some @SuppressWarnings("deprecation")
to the code, to quieten down the deprecation warnings when compiling.
JAVA-4052
JAVA-4052
JAVA-4052
Done, thanks! I've added the |
|
JAVA-5264
@@ -39,7 +39,7 @@ internal class SyncAggregateIterable<T : Any>(val wrapped: AggregateIterable<T>) | |||
} | |||
|
|||
override fun maxTime(maxTime: Long, timeUnit: TimeUnit): SyncAggregateIterable<T> = apply { |
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.
nit: I would have just annoatated the whole method
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.
LGTM
…s. (mongodb#1277)" This reverts commit 1a3e3a8
The following options for CRUD methods are deprecated in favor of
timeoutMS
:Specification: CRUD
JAVA-5264