From 52d15ddec81127855a9981029cb77d4ed2798e79 Mon Sep 17 00:00:00 2001
From: Christopher Brickley <brickley@gmail.com>
Date: Wed, 10 Sep 2014 08:53:16 -0400
Subject: deliver hooks immediately after commit

---
 models/action.go | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'models/action.go')

diff --git a/models/action.go b/models/action.go
index c0992dba68..295a61ccdb 100644
--- a/models/action.go
+++ b/models/action.go
@@ -314,6 +314,8 @@ func CommitRepoAction(userId, repoUserId int64, userName, actEmail string,
 			}
 		}
 	}
+
+	go DeliverHooks()
 	return nil
 }
 
-- 
cgit v1.2.3