nylas/nylas-nodejs

Timeout is always 150ms

Closed this issue · 2 comments

Describe the bug
The provided timeout is not respected. When providing a timeout, it is always defaulting to 150ms.

if (config.timeout && config.timeout !== 0) {
controller = new AbortController();
timeout = setTimeout(() => {
controller.abort();
}, 150);
}

Expected behavior
The timeout we provide to be respected.

SDK Version:
6.10.0

Hi. Can you check the PR #490 ? It seems to fix your issue.

Hey @kgtupelo, sorry to see that PR closed. I opened a new PR and the fix will be included in the next release. Apologies for the delay.