diff options
author | Gabriel Mazetto <brodock@gmail.com> | 2017-05-26 01:46:30 +0200 |
---|---|---|
committer | Gabriel Mazetto <brodock@gmail.com> | 2017-05-31 14:33:03 +0200 |
commit | 27e632758feed94d8b3ff065b7c8928a854cecc5 (patch) | |
tree | 98aa0fdba69d5fcb8bb510516153413225aafaac /lib/tasks | |
parent | 13e88c93956b5b350515b919ef7217a3dccf28ff (diff) | |
download | gitlab-ce-27e632758feed94d8b3ff065b7c8928a854cecc5.tar.gz |
Add ActiveUsers Check
Diffstat (limited to 'lib/tasks')
-rw-r--r-- | lib/tasks/gitlab/check.rake | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/lib/tasks/gitlab/check.rake b/lib/tasks/gitlab/check.rake index 0d177663066..973517c99dd 100644 --- a/lib/tasks/gitlab/check.rake +++ b/lib/tasks/gitlab/check.rake @@ -32,11 +32,11 @@ namespace :gitlab do SystemCheck::App::ProjectsHaveNamespaceCheck, SystemCheck::App::RedisVersionCheck, SystemCheck::App::RubyVersionCheck, - SystemCheck::App::GitVersionCheck + SystemCheck::App::GitVersionCheck, + SystemCheck::App::ActiveUsersCheck ] SystemCheck.run('GitLab', checks) - check_active_users end end @@ -554,10 +554,6 @@ namespace :gitlab do end end - def check_active_users - puts "Active users: #{User.active.count}" - end - def check_repo_integrity(repo_dir) puts "\nChecking repo at #{repo_dir.color(:yellow)}" |