[mirror] Scalable static site server for Git forges (like GitHub Pages)

Fix timeout bug introduced in commit 9c6f735d.

This bug would cause POST hooks triggered for large repositories to
silently fail.

We need the update context to have the principal (which is tied to
the HTTP request), but not the cancellation (which is also tied to
the HTTP request and is triggered once the request is done either way).

Changed files
+1 -1
src
+1 -1
src/pages.go
··· 770 770 result := UpdateFromRepository(ctx, webRoot, repoURL, auth.branch) 771 771 resultChan <- result 772 772 observeSiteUpdate("webhook", &result) 773 - }(r.Context()) 773 + }(context.WithoutCancel(r.Context())) 774 774 775 775 var result UpdateResult 776 776 select {