Skip to content

Commit b4e3d55

Browse files
committed
Timeout fix
1 parent 48a8de5 commit b4e3d55

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Database/Adapter/Mongo.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3017,7 +3017,7 @@ public function getKeywords(): array
30173017
protected function processException(\Throwable $e): \Throwable
30183018
{
30193019
// Timeout
3020-
if ($e->getCode() === 50) {
3020+
if ($e->getCode() === 50 || $e->getCode() === 262) {
30213021
return new TimeoutException('Query timed out', $e->getCode(), $e);
30223022
}
30233023

0 commit comments

Comments
 (0)