From fb48e869bc5a5ea2c9ed094c4b2562f6910e7a8a Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Wed, 20 Nov 2019 11:17:27 -0500 Subject: [PATCH] gitsrht-update-hook: release stage 3 child --- gitsrht-shell/main.go | 2 -- gitsrht-update-hook/post-update.go | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/gitsrht-shell/main.go b/gitsrht-shell/main.go index c8dfcba..19e890a 100644 --- a/gitsrht-shell/main.go +++ b/gitsrht-shell/main.go @@ -118,8 +118,6 @@ func main() { logger.Fatalf("Unable to parse command: %v", err) } - logger.Println("Running git.sr.ht shell") - // Make sure it's a git command that we're expecting validCommands := []string{ "git-receive-pack", "git-upload-pack", "git-upload-archive", diff --git a/gitsrht-update-hook/post-update.go b/gitsrht-update-hook/post-update.go index 34b5978..9172698 100644 --- a/gitsrht-update-hook/post-update.go +++ b/gitsrht-update-hook/post-update.go @@ -272,4 +272,5 @@ func postUpdate() { logger.Printf("Executing stage 3 to record %d sync deliveries and make " + "%d async deliveries", len(deliveries), len(dbinfo.AsyncWebhooks)) stage3.Start() + stage3.Process.Release() } -- 2.38.4