<commit_before>class NotificationsWorker
  include Sidekiq::Worker
  include NotificationsHelper
  
  #sidekiq_options queue: "high"
  # sidekiq_options retry: false
  
  def perform(notification)
    send_notification(notification)
  end<commit_msg>still testing sidekiq settings<commit_after>class NotificationsWorker
  include Sidekiq::Worker
  #include NotificationsHelper
  
  #sidekiq_options queue: "high"
  # sidekiq_options retry: false
  
  def perform(notification)
    Device.all.each do |d|
      n = Rpush::Apns::Notification.new
      n.app = Rpush::Apns::App.find_by_name("iOSApp")
      n.device_token = d.device_token #64-character hex string
      n.alert = notification.message
      n.data = { data: notification.title }
      n.save!
    end
  end
{'fraction_non_alphanumeric': 0.0858257477243173, 'fraction_numerical': 0.002600780234070221, 'mean_word_length': 3.8734177215189876, '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': '517863', 'n_tokens_mistral': 243, 'n_tokens_neox': 239, 'n_words': 52}