BigW Consortium Gitlab

Skip to content
  • Sean McGivern's avatar
    5f27e26b
    Only generate repository push email once · 5f27e26b
    Sean McGivern authored
    The repository push email can be very expensive to generate, especially
    with syntax-highlighted diffs. Instead of generating the email for each
    recipient, generate one email object and reset the Message-Id and To
    headers for each recipient. (Cloning would also be expensive in the case
    of large emails, although probably not as bad as generating from
    scratch.)
    5f27e26b
    Only generate repository push email once
    Sean McGivern authored
    The repository push email can be very expensive to generate, especially
    with syntax-highlighted diffs. Instead of generating the email for each
    recipient, generate one email object and reset the Message-Id and To
    headers for each recipient. (Cloning would also be expensive in the case
    of large emails, although probably not as bad as generating from
    scratch.)
Loading