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>2013-02-11 21:16:59 +0400
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-02-11 21:16:59 +0400
commitd64090b8a9065746c6d532057228c079a1d57013 (patch)
treea97504c15dedfd470d9ffc11c51bd15a6718e8cb /app/workers/gitlab_shell_worker.rb
parent8e0b58d7e7cde0d9afb93f267197f62b9b649cd3 (diff)
No gitolite in project any more
Diffstat (limited to 'app/workers/gitlab_shell_worker.rb')
-rw-r--r--app/workers/gitlab_shell_worker.rb10
1 files changed, 10 insertions, 0 deletions
diff --git a/app/workers/gitlab_shell_worker.rb b/app/workers/gitlab_shell_worker.rb
new file mode 100644
index 00000000000..0b8a5497111
--- /dev/null
+++ b/app/workers/gitlab_shell_worker.rb
@@ -0,0 +1,10 @@
+class GitoliteWorker
+ include Sidekiq::Worker
+ include Gitolited
+
+ sidekiq_options queue: :gitlab_shell
+
+ def perform(action, *arg)
+ gitlab_shell.send(action, *arg)
+ end
+end