You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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;
}
The text was updated successfully, but these errors were encountered:
Description:
In
src/Query/Builder.php
line number 158, the time-out value should be in milliseconds but it's defined as seconds.The text was updated successfully, but these errors were encountered: