<commit_before>require_dependency "overlay/application_controller"

module Overlay
  class GithubController < ApplicationController
    def update
      render nothing: true

      logger.info "Received update post for repo: #{params[:repository]} and ref: #{params[:ref]}"
      Overlay.configuration.repositories.each do |repo_config|
        logger.info "Processing config for repo: #{repo_config[:repo]} and branch: #{repo_config[:branch] || 'master'}"
        next unless repo_config.class == GithubRepo
        branch = repo_config[:branch] || 'master'
        if (params[:repository] && params[:ref])
          if (params[:repository][:name] == repo_config[:repo]) && (params[:ref] == "refs/heads/#{branch}")
            logger.info "Processing overlay for repo: #{repo_config[:repo]} and branch: #{repo_config[:branch] || 'master'}"
            SuckerPunch::Queue[:github_queue].async.perform repo_config
          end
        end
      end
    end
  end
end<commit_msg>Remove extra info logging<commit_after>require_dependency "overlay/application_controller"

module Overlay
  class GithubController < ApplicationController
    def update
      render nothing: true

      Overlay.configuration.repositories.each do |repo_config|
        next unless repo_config.class == GithubRepo
        branch = repo_config[:branch] || 'master'
        if (params[:repository] && params[:ref])
          if (params[:repository][:name] == repo_config[:repo]) && (params[:ref] == "refs/heads/#{branch}")
            logger.info "Enqueueing GithubJob for repo: #{repo_config[:repo]} and branch: #{repo_config[:branch] || 'master'}"
            SuckerPunch::Queue[:github_queue].async.perform repo_config
          end
        end
      end
    end
  end
end
{'fraction_non_alphanumeric': 0.125642490005711, 'fraction_numerical': 0.0, 'mean_word_length': 3.5038560411311055, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3096646', 'n_tokens_mistral': 478, 'n_tokens_neox': 472, 'n_words': 118}