diff options
author | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2018-09-25 20:19:23 +0300 |
---|---|---|
committer | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2018-09-25 20:19:23 +0300 |
commit | 6167615a741bc84db4b54e8fc2c6ce0b05dd3cf4 (patch) | |
tree | a10fb949d3a7aa6729e0e2de485b93212615cbf0 /lib | |
parent | 4ca1afec3534b7e70454bfd99552804c55ca0c83 (diff) | |
parent | 15d011d64d579616dd9df3e3e5082ed5b99bcdf8 (diff) |
Merge branch 'follow-up-geo-sync-disabled-wikis' into 'master'
CE port of https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/6906
See merge request gitlab-org/gitlab-ce!21903
Diffstat (limited to 'lib')
-rw-r--r-- | lib/tasks/gitlab/site_statistics.rake | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/tasks/gitlab/site_statistics.rake b/lib/tasks/gitlab/site_statistics.rake index 7d24ec72a9d..d97f11b2ed5 100644 --- a/lib/tasks/gitlab/site_statistics.rake +++ b/lib/tasks/gitlab/site_statistics.rake @@ -10,14 +10,6 @@ namespace :gitlab do SiteStatistic.update_all('repositories_count = (SELECT COUNT(*) FROM projects)') end puts 'OK!'.color(:green) - - print '* Wikis... ' - SiteStatistic.transaction do - # see https://gitlab.com/gitlab-org/gitlab-ce/issues/48967 - ActiveRecord::Base.connection.execute('SET LOCAL statement_timeout TO 0') if Gitlab::Database.postgresql? - SiteStatistic.update_all('wikis_count = (SELECT COUNT(*) FROM project_features WHERE wiki_access_level != 0)') - end - puts 'OK!'.color(:green) puts end end |