Check if repository exists before performing housekeeping

上级 e9732404
......@@ -514,6 +514,8 @@ class Project < ActiveRecord::Base
end
def perform_housekeeping
return unless repo_exists?
run_after_commit do
begin
Projects::HousekeepingService.new(self).execute
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册