I’m currently facing some minor issues with a site because a function that talks to a newsletter service is timing out after 10s. This is caused by the newsletter API. Like me, it has a bit of trouble waking up sometimes. The function is triggered automatically on a Netlify form submit, so obviously it’s named submission-created.js.
Long story short: Is it possible to rename the function to submission-created-background.js to make use of both the automatic trigger and the background functionality?
hmm, this seems like a valid question. I don’t have an answer for you, but do note that if you can’t make it work, we can definitely bump up your function timeout with us (as a Pilot you definitely get that perk) to 26 seconds. Let me know!