We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 48a8de5 commit b4e3d55Copy full SHA for b4e3d55
1 file changed
src/Database/Adapter/Mongo.php
@@ -3017,7 +3017,7 @@ public function getKeywords(): array
3017
protected function processException(\Throwable $e): \Throwable
3018
{
3019
// Timeout
3020
- if ($e->getCode() === 50) {
+ if ($e->getCode() === 50 || $e->getCode() === 262) {
3021
return new TimeoutException('Query timed out', $e->getCode(), $e);
3022
}
3023
0 commit comments