[JAVA-1346] For correct idle connection timeout, lastUsedAt should be set after the callback fires rather than before Created: 05/Aug/14  Updated: 04/Nov/16  Resolved: 21/Oct/14

Status: Closed
Project: Java Driver
Component/s: Async, Connection Management
Affects Version/s: None
Fix Version/s: 3.0.0

Type: Improvement Priority: Minor - P4
Reporter: Jeffrey Yemin Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Epic Link: Async

 Description   

UsageTrackingInternalConnection should set lastUsedAt when the callback fires, not when the message is sent.

See com.mongodb.connection.UsageTrackingInternalConnection#sendMessageAsync and com.mongodb.connection.UsageTrackingInternalConnection#receiveMessageAsync


Generated at Thu Feb 08 08:54:23 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.