<commit_before>ActivityLog.class_eval do
  after_create :send_notification

  def send_notification
    if Seek::Config.email_enabled
      activity_loggable.send_immediate_subscriptions(self) if activity_loggable.respond_to? :send_immediate_subscriptions
    end
  end
end<commit_msg>send_immediate_subscriptions by subscription_job<commit_after>ActivityLog.class_eval do
  after_create :send_notification

  def send_notification
    if Seek::Config.email_enabled
      SubscriptionJob.add_items_to_queue self.id
    end
  end
end
{'fraction_non_alphanumeric': 0.045112781954887216, 'fraction_numerical': 0.0, 'mean_word_length': 5.746835443037975, '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': '5003609', 'n_tokens_mistral': 164, 'n_tokens_neox': 161, 'n_words': 29}