<commit_before>NotifyUser.setup do |config|

  # Override the email address from which notifications appear to be sent.
  config.mailer_sender = "<EMAIL>-config-<EMAIL>"

  # NotifyUser will call this within NotificationsController to ensure the user is authenticated.
  config.authentication_method = :authenticate_user!

  # NotifyUser will call this within NotificationsController to return the current logged in user.
  config.current_user_method = :current_user

  # Override the default notification type
  config.unsubscribable_notifications = ['NewPostNotification']

  # Provider for APNS:
  config.apns_provider = :houston

  # Number of connections Houston will maintain to APNS:
  config.connection_pool_size = 3

  # Time in seconds Houston will wait for a free connection before failing:
  config.connection_pool_timeout = 300

  # Number of times a device can fail to send via APNS:
  config.failure_tolerance = 5

end<commit_msg>Ditched the `failure_tolerance` initialiser, no longer required.<commit_after>NotifyUser.setup do |config|

  # Override the email address from which notifications appear to be sent.
  config.mailer_sender = "please-<EMAIL>-<EMAIL>-config-<EMAIL>"

  # NotifyUser will call this within NotificationsController to ensure the user is authenticated.
  config.authentication_method = :authenticate_user!

  # NotifyUser will call this within NotificationsController to return the current logged in user.
  config.current_user_method = :current_user

  # Override the default notification type
  config.unsubscribable_notifications = ['NewPostNotification']

  # Provider for APNS:
  config.apns_provider = :houston

  # Number of connections Houston will maintain to APNS:
  config.connection_pool_size = 3

  # Time in seconds Houston will wait for a free connection before failing:
  config.connection_pool_timeout = 300

end
{'fraction_non_alphanumeric': 0.058886509635974305, 'fraction_numerical': 0.004817987152034261, 'mean_word_length': 4.858934169278997, 'pattern_counts': {'":': 0, '<': 8, '<?xml version=': 0, '>': 8, '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': '1215776', 'n_tokens_mistral': 530, 'n_tokens_neox': 491, 'n_words': 182}