5f27e26bb4
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.) |
||
---|---|---|
.. | ||
repository_check | ||
build_email_worker_spec.rb | ||
delete_user_worker_spec.rb | ||
email_receiver_worker_spec.rb | ||
emails_on_push_worker_spec.rb | ||
merge_worker_spec.rb | ||
post_receive_spec.rb | ||
project_cache_worker_spec.rb | ||
repository_fork_worker_spec.rb | ||
repository_import_worker_spec.rb | ||
stuck_ci_builds_worker_spec.rb |