Finished with configs

This commit is contained in:
randx 2012-07-02 21:59:48 +03:00
parent 9b337b8328
commit 1d543e6430
5 changed files with 32 additions and 11 deletions

View file

@ -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)

View file

@ -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