提交 3fb4d86c 编写于 作者: G Grzegorz Bizon

Add temporary fix for race condition in MWBS

上级 74fd5cab
......@@ -99,6 +99,9 @@ class CommitStatus < ActiveRecord::Base
after_transition [:created, :pending, :running] => :success do |commit_status|
commit_status.run_after_commit do
# TODO, temporary fix for race condition
UpdatePipelineWorker.new.perform(pipeline.id)
MergeRequests::MergeWhenBuildSucceedsService
.new(pipeline.project, nil).trigger(self)
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册