Browse Source

Merge pull request #456 from compressed/send_hook_immediately

Deliver hooks immediately after commit
无闻 10 years ago
parent
commit
18a80b291b
1 changed files with 2 additions and 0 deletions
  1. 2 0
      models/action.go

+ 2 - 0
models/action.go

@@ -314,6 +314,8 @@ func CommitRepoAction(userId, repoUserId int64, userName, actEmail string,
 			}
 		}
 	}
+
+	go DeliverHooks()
 	return nil
 }