Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-1557

Clean up constructor for ClientSession

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 3.3.0
    • Affects Version/s: None
    • Component/s: Core
    • Labels:
      None

      Constructor for ClientSession seems to have some superfluous lines:

          options = options || {};
          if (typeof options.initialClusterTime !== 'undefined') {
            this.clusterTime = options.initialClusterTime;
          } else {
            this.clusterTime = null;
          }
      

      This code does not appear to be used, and should be removed.

            Assignee:
            sam.pal@mongodb.com Samiksha Pal (Inactive)
            Reporter:
            daniel.aprahamian@mongodb.com Daniel Aprahamian (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: