<commit_before>module Sync
  class FeedSyncTask
    include ::Jobs::ScheduledJob

    run_every 5.minutes

    def perform(*args)
      FeedUpdateSet.new.each { |feed|
        FeedSync.sync(feed)
      }
    end
  end
end<commit_msg>reduced delayed job schedule to 10 seconds to see if it works in production<commit_after>module Sync
  class FeedSyncTask
    include ::Jobs::ScheduledJob
    include ::Logging
    run_every 10s

    def perform(*args)
      logger.info("Updating feeds")
      FeedUpdateSet.new.each { |feed|
        FeedSync.sync(feed)
      }
    end
  end
end
{'fraction_non_alphanumeric': 0.07944732297063903, 'fraction_numerical': 0.008635578583765112, 'mean_word_length': 2.7908496732026142, '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': '1058634', 'n_tokens_mistral': 196, 'n_tokens_neox': 178, 'n_words': 48}