diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-07-20 12:55:51 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-07-20 12:55:51 +0300 |
commit | e8d2c2579383897a1dd7f9debd359abe8ae8373d (patch) | |
tree | c42be41678c2586d49a75cabce89322082698334 /app/controllers/repositories | |
parent | fc845b37ec3a90aaa719975f607740c22ba6a113 (diff) |
Add latest changes from gitlab-org/gitlab@14-1-stable-eev14.1.0-rc42
Diffstat (limited to 'app/controllers/repositories')
-rw-r--r-- | app/controllers/repositories/git_http_controller.rb | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/app/controllers/repositories/git_http_controller.rb b/app/controllers/repositories/git_http_controller.rb index 11a219b4ff0..e51bfe6a37e 100644 --- a/app/controllers/repositories/git_http_controller.rb +++ b/app/controllers/repositories/git_http_controller.rb @@ -84,11 +84,7 @@ module Repositories return if Feature.enabled?(:disable_git_http_fetch_writes) - if Feature.enabled?(:project_statistics_sync, project, default_enabled: true) - Projects::FetchStatisticsIncrementService.new(project).execute - else - ProjectDailyStatisticsWorker.perform_async(project.id) # rubocop:disable CodeReuse/Worker - end + Projects::FetchStatisticsIncrementService.new(project).execute end def access |