<commit_before>require 'core_ext/module/async'

Async.class_eval do
  include Travis::Logging

  include Module.new {
    def run(&block)
      super
      info "Async queue size: #{@queue.size}"
    end
  }
end<commit_msg>try re-adding the old async code in hub<commit_after>require 'core_ext/module/async'

Async.class_eval do
  include Travis::Logging

  include Module.new {
    def run(&block)
      super
      info "Async queue size: #{@queue.size}"
    end
  }
end

unless ENV['ENV'] == 'test'
  %w(Archive Email Irc Pusher Webhook).each do |name|
    handler = Travis::Notifications::Handler.const_get(name)
    handler.async :notify
  end
end
{'fraction_non_alphanumeric': 0.11196319018404909, 'fraction_numerical': 0.0, 'mean_word_length': 3.442176870748299, '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': '7355805', 'n_tokens_mistral': 221, 'n_tokens_neox': 214, 'n_words': 58}