What is the current timeout for webhooks that are sent to GitHub applications? And could you by any chance increase the timeout?
My special use case here is hosting web applications on free hosting plans by providers Heroku or now. After some time without requests, these services put apps to “sleep” and they get “woken up” the first time they receive a request again. For both Heroku and Zeit, the webhook requests coming from GitHub are usually timing out. For example for now, waking up the app takes about 20-30s, I haven’t tested Heroku recently.
This is very unfortunate because the first request is often times part of a first-run experience of a GitHub app user, from their perspective the app simply does not work as advertised.
If you can’t increase the timeouts in general, I wonder if you can make a check to see if a request has been sent in the past ~5min and if not, increase the timeout for requests until the first response arrives?