<commit_before>def configure_sidekiq config

  config.redis = {
    host:       Rails.application.config.redis.host!,
    port:       Rails.application.config.redis.port!,
    db:         Rails.application.config.redis.database!,
    namespace:  Rails.application.config.redis.sidekiq_namespace!,
  }
end

Sidekiq.configure_server {|c| configure_sidekiq c }
Sidekiq.configure_client {|c| configure_sidekiq c }<commit_msg>disabled retries for sidekiq<commit_after>def configure_sidekiq config

  config.redis = {
    host:       Rails.application.config.redis.host!,
    port:       Rails.application.config.redis.port!,
    db:         Rails.application.config.redis.database!,
    namespace:  Rails.application.config.redis.sidekiq_namespace!,
  }
end

Sidekiq.configure_server {|c| configure_sidekiq c }
Sidekiq.configure_client {|c| configure_sidekiq c }

Sidekiq.default_worker_options = { retry: false }
{'fraction_non_alphanumeric': 0.10462555066079295, 'fraction_numerical': 0.0, 'mean_word_length': 3.8870967741935485, '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': '6319550', 'n_tokens_mistral': 312, 'n_tokens_neox': 301, 'n_words': 48}