diff options
Diffstat (limited to 'app/models/project.rb')
-rw-r--r-- | app/models/project.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/models/project.rb b/app/models/project.rb index f7db8c2bede..6e593d3c86b 100644 --- a/app/models/project.rb +++ b/app/models/project.rb @@ -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 |