Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2012-01-04 02:42:14 +0400
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2012-01-04 02:42:14 +0400
commit2dae0e18e09132c0db32c8646d8d11b30cfcb83f (patch)
treeb28e2b90fae53324750e82e47898ab815c0bb82e /app/workers
parent8d7aaf0e5501c472504467b9252dd5bde14a98c8 (diff)
web hooks scaffold started
Diffstat (limited to 'app/workers')
-rw-r--r--app/workers/post_receive.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/workers/post_receive.rb b/app/workers/post_receive.rb
index d79f4599d80..922a66ebf86 100644
--- a/app/workers/post_receive.rb
+++ b/app/workers/post_receive.rb
@@ -1,4 +1,6 @@
class PostReceive
+ @queue = :post_receive
+
def self.perform(reponame, oldrev, newrev, ref)
project = Project.find_by_path(reponame)
return false if project.nil?