[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 |