Add active users to gitlab:check

This commit is contained in:
Dmitriy Zaporozhets 2015-03-10 12:03:04 -07:00
parent 82bb3ec33d
commit ae7e380632

View file

@ -29,6 +29,7 @@ namespace :gitlab do
check_redis_version
check_ruby_version
check_git_version
check_active_users
finished_checking "GitLab"
end
@ -781,6 +782,10 @@ namespace :gitlab do
end
end
def check_active_users
puts "Active users: #{User.active.count}"
end
def omnibus_gitlab?
Dir.pwd == '/opt/gitlab/embedded/service/gitlab-rails'
end