Fix sattellites

This commit is contained in:
Dmitriy Zaporozhets 2012-11-21 09:14:05 +03:00
parent 23734a715e
commit ab42370af0
3 changed files with 11 additions and 6 deletions

View file

@ -41,11 +41,11 @@ module Gitlab
end
def lock_file
Rails.root.join("tmp", "#{project.path}.lock")
Rails.root.join("tmp", "satellite_#{project.id}.lock")
end
def path
Rails.root.join("tmp", "repo_satellites", project.path)
Rails.root.join("tmp", "repo_satellites", project.path_with_namespace)
end
def repo