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

Command does not respect MaxTimeMS

      The following command runs indefinitely.

      Code using command
      db.command({aggregate: 'events', pipeline: []}, {maxTimeMS: 50000}, callback);
      

      However, running:

      Code using aggregate
      db.events.aggregate([], {maxTimeMS: 50000}, callback);
      

      Correctly stops after 50 seconds.

            Assignee:
            christkv Christian Amor Kvalheim
            Reporter:
            emoshe Elad Moshe
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: