<commit_before>class SendgridClient
  TIMEOUT = 2 # seconds

  attr_reader :api_key, :api_user

  def initialize(api_key:, api_user:, http_opts: {})
    timeout = http_opts.fetch(:timeout, TIMEOUT)
    persistent = http_opts.fetch(:persistent, false)

    @api_key = api_key
    @api_user = api_user

    @connection ||= Excon.new('https://api.sendgrid.com',
      persistent: persistent,
      connect_timeout: timeout)
  end<commit_msg>Don't memoize excon client<commit_after>class SendgridClient
  TIMEOUT = 2 # seconds

  attr_reader :api_key, :api_user

  def initialize(api_key:, api_user:, http_opts: {})
    timeout = http_opts.fetch(:timeout, TIMEOUT)
    persistent = http_opts.fetch(:persistent, false)

    @api_key = api_key
    @api_user = api_user

    @connection = Excon.new('https://api.sendgrid.com',
      persistent: persistent,
      connect_timeout: timeout)
  end
{'fraction_non_alphanumeric': 0.11386696730552424, 'fraction_numerical': 0.002254791431792559, 'mean_word_length': 3.9887640449438204, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '1983419', 'n_tokens_mistral': 299, 'n_tokens_neox': 293, 'n_words': 60}