<commit_before>require 'sidekiq/worker'
require 'travis/logs/services/archive_log'

module Travis
  module Logs
    module Sidekiq
      class Archive
        include ::Sidekiq::Worker

        sidekiq_options queue: 'archive'

        def perform(log_id)
          Services::ArchiveLog.new(log_id).run
        end
      end
    end
  end<commit_msg>only retry 3 times for an archive job<commit_after>require 'sidekiq/worker'
require 'travis/logs/services/archive_log'

module Travis
  module Logs
    module Sidekiq
      class Archive
        include ::Sidekiq::Worker

        sidekiq_options queue: 'archive', retry: 3

        def perform(log_id)
          Services::ArchiveLog.new(log_id).run
        end
      end
    end
  end
{'fraction_non_alphanumeric': 0.07356948228882834, 'fraction_numerical': 0.0027247956403269754, 'mean_word_length': 2.5679611650485437, 'pattern_counts': {'":': 0, '<': 3, '<?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': '3848978', 'n_tokens_mistral': 233, 'n_tokens_neox': 222, 'n_words': 56}