Function execution timeout

286 views
Skip to first unread message

Jesse Friedman

unread,
Sep 3, 2017, 5:44:53 AM9/3/17
to Twilio Functions
Hello! I'm working on a function that involves strategically delaying the response, so the resulting TwiML is executed in sync with wall clock time. However, I've found that if I delay for more that 5 seconds, the function times out. Twilio Functions doesn't seem to support adjusting the timeout value like AWS Lambda does, which is not an issue for me, but I'd like to know how this value is determined. Is it static (5 seconds for all functions), and if so, is this likely to change in the future?

Chris Corcoran

unread,
Sep 5, 2017, 2:30:53 PM9/5/17
to Twilio Functions
Hi Jesse,

I'm sorry you ran into an issue using Twilio Functions. Right now, all Twilio Functions have a timeout of 5 seconds. We've had a couple other customers ask about lifting or configuring that timeout. The engineering team is currently investigating what it would take to do that. But we're not sure when that feature would be available. I'll be sure to keep you up to date on our progress.

Thanks,
Chris Corcoran
Product Manager, Twilio Runtime
Reply all
Reply to author
Forward
0 new messages