Commit 99d7f639 authored by Anton Tuyakhov's avatar Anton Tuyakhov Committed by Jeremy Mikola

Fix distinct maxTimeMS option

parent 6e5d7022
......@@ -105,7 +105,7 @@ class Distinct implements Executable
}
if (isset($this->options['maxTimeMS'])) {
$cmd[$option] = $this->options['maxTimeMS'];
$cmd['maxTimeMS'] = $this->options['maxTimeMS'];
}
return new Command($cmd);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment