For correct idle connection timeout, lastUsedAt should be set after the callback fires rather than before

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Minor - P4
    • 3.0.0
    • Affects Version/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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

            Assignee:
            Unassigned
            Reporter:
            Jeffrey Yemin
            None
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: