taster icon indicating copy to clipboard operation
taster copied to clipboard

Return earlier from webhook handler to avoid timeout

Open ms705 opened this issue 9 years ago • 0 comments

Taster currently runs the entire tasting logic synchronously in the web hook handler closure. As a result, GitHub often decides that the webhook has timed out before Taster actually completes processing the push.

Instead, Taster should put the push on a work queue and return immediately, and use the GitHub status API (#5) to report back on its success.

ms705 avatar Nov 30 '16 17:11 ms705