Comment 12 for bug 615654

Revision history for this message
Edwin Grubbs (edwin-grubbs) wrote : Re: [Bug 615654] Re: +editproposedmembers times out when working with many candidates

On Thu, Sep 16, 2010 at 1:40 PM, Robert Collins
<email address hidden> wrote:
> Emails are sent after the page is rendered already, though there is a
> bug with that.

Emails may be sent after the page is rendered, but gathering all the
information to send the emails is obviously not occurring before the
page times out. How is the page supposed to be rendered before
simple_sendmail() is called? That is what I mean by sending email in
the context of a view class.

> But yes, I do agree we need to do more; I'm trying to say that we
> should optimise the process *anyway* because inefficient code is still
> slow on the backend and that will use up DB resources that are the
> only unscalable component we have.

I think that requires another bug to track that task, since the oops
should be solved before that optimization takes place.