Creating a new calendar regularly takes more than 10 seconds, resulting in a timeout. The needle library used has a default timeout of 10 seconds, but I if I see it correctly there is no way to pass a timeout to needle via google-calendar: the 4th argument options of the request is always an empty object {}.
Creating a new calendar regularly takes more than 10 seconds, resulting in a timeout. The
needle
library used has a default timeout of 10 seconds, but I if I see it correctly there is no way to pass atimeout
toneedle
viagoogle-calendar
: the 4th argumentoptions
of the request is always an empty object{}
.https://github.com/wanasit/google-calendar/blob/master/GoogleCalendar.js#L156
It would be great to have an option to apply an other timeout, either globally or per request.