Finished with configs
This commit is contained in:
parent
9b337b8328
commit
1d543e6430
5 changed files with 32 additions and 11 deletions
|
@ -33,7 +33,7 @@ module Gitlab
|
|||
end
|
||||
|
||||
def configure
|
||||
Timeout::timeout(20) do
|
||||
Timeout::timeout(30) do
|
||||
File.open(File.join(Rails.root, 'tmp', "gitlabhq-gitolite.lock"), "w+") do |f|
|
||||
begin
|
||||
f.flock(File::LOCK_EX)
|
||||
|
|
|
@ -21,7 +21,6 @@ namespace :gitlab do
|
|||
return
|
||||
end
|
||||
|
||||
GIT_HOST = YAML.load_file("#{Rails.root}/config/gitlab.yml")["git_host"]
|
||||
print "#{git_base_path}............"
|
||||
if File.exists?(git_base_path)
|
||||
puts "exists".green
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue