Ensure that a SQL command timeout results in an error

pull/1/head
Scott Nonnenberg 7 years ago
parent 4b3ddef955
commit a01db40e27

@ -178,8 +178,8 @@ function makeChannel(fnName) {
});
setTimeout(
() => resolve(new Error(`Request to ${fnName} timed out`)),
5000
() => reject(new Error(`Request to ${fnName} timed out`)),
10000
);
});
};

Loading…
Cancel
Save