Reputation: 1814
How to overide max timeout in Google App Script using the URL Fetch Service?
function onOpen() {
var url = "myurl.com/longprocess";
var functionResponse = UrlFetchApp.fetch(url);
}
Upvotes: 2
Views: 671
Reputation: 26796
There is already a popular feature request for it. You can "start" it to increase visibility and hopefully accelerate the implementaiton.
Until then:
try...catch
statement and try the request again if it times outUpvotes: 1