Ensure that a SQL command timeout results in an error
This commit is contained in:
parent
4b3ddef955
commit
a01db40e27
1 changed files with 2 additions and 2 deletions
|
@ -178,8 +178,8 @@ function makeChannel(fnName) {
|
||||||
});
|
});
|
||||||
|
|
||||||
setTimeout(
|
setTimeout(
|
||||||
() => resolve(new Error(`Request to ${fnName} timed out`)),
|
() => reject(new Error(`Request to ${fnName} timed out`)),
|
||||||
5000
|
10000
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue