DEV: Remove stale TODO (#20039)
This TODO is irrelevant -- in reality this has not been a perf issue, and there is not actually an N1 here. Furthermore, this is only used in a single plugin, not in core.
This commit is contained in:
parent
da0b401fa5
commit
079e1108f1
|
@ -1895,8 +1895,6 @@ class Topic < ActiveRecord::Base
|
|||
def incoming_email_addresses(group: nil, received_before: Time.zone.now)
|
||||
email_addresses = Set.new
|
||||
|
||||
# TODO(martin) Look at improving this N1, it will just get slower the
|
||||
# more replies/incoming emails there are for the topic.
|
||||
self
|
||||
.incoming_email
|
||||
.where("created_at <= ?", received_before)
|
||||
|
|
Loading…
Reference in New Issue