summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Newdigate <andrew@gitlab.com>2018-07-03 08:53:08 +0100
committerAndrew Newdigate <andrew@gitlab.com>2018-07-03 08:53:08 +0100
commit330ca306115eccace541631792e9209e8c5f9558 (patch)
tree7b3b29ee640c568089640361fec3d1d1006b55cb
parent275fbf24b1810e2fbef92b6599d5372855b97b46 (diff)
downloadgitlab-ce-lower-logging-for-project-stats.tar.gz
Lower log levels on update_statisticslower-logging-for-project-stats
-rw-r--r--app/workers/project_cache_worker.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/workers/project_cache_worker.rb b/app/workers/project_cache_worker.rb
index abe86066fb4..8c922dbcd9f 100644
--- a/app/workers/project_cache_worker.rb
+++ b/app/workers/project_cache_worker.rb
@@ -28,7 +28,7 @@ class ProjectCacheWorker
def update_statistics(statistics = [])
try_obtain_lease do
- Rails.logger.info("Updating statistics for project #{@project.id}")
+ Rails.logger.debug("Updating statistics for project #{@project.id}")
@project.statistics.refresh!(only: statistics.to_a.map(&:to_sym))
end
end