diff options
Diffstat (limited to 'app/controllers/repositories/git_http_controller.rb')
-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 |