Closed
Description
Description:
In src/Query/Builder.php
line number 158, the time-out value should be in milliseconds but it's defined as seconds.
/**
* Set the cursor timeout in seconds.
* @param int $seconds
* @return $this
*/
public function timeout($seconds)
{
// $this->timeout = $seconds;
$this->timeout = $seconds * 1000; // because on line 383, it's $options['maxTimeMS'] = $this->timeout;
return $this;
}
Metadata
Metadata
Assignees
Labels
No labels