nylas / nylas-nodejs

A NodeJS wrapper for the Nylas REST API for email, contacts, and calendar.
MIT License
167 stars 117 forks source link

Timeout is always 150ms #489

Closed kgtupelo closed 9 months ago

kgtupelo commented 10 months ago

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

https://github.com/nylas/nylas-nodejs/blob/cb42d16b3c597d4297e71303066f2266a66084ee/src/nylas-connection.ts#L236-L241

Expected behavior The timeout we provide to be respected.

SDK Version: 6.10.0

Siddikpatel commented 10 months ago

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

mrashed-dev commented 9 months ago

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.