-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Networking
-
Fully Compatible
-
Service Arch 2019-07-15, Service Arch 2019-08-12
We sometimes have access to an opCtx when constructing a RemoteCommandRequest. That opCtx may in turn have a maxtimems deadline. By honoring that deadline (making the deadline the lesser of passed timeoutMillis and remaining time left on the opctx) we can convey important information to the connection pool and avoid returning connections to requesters that won't use them