Comment 2 for bug 471974

Revision history for this message
Graham Binns (gmb) wrote : Re: bug timing out without much sql time

So, glancing at this before EoDing, I think the offending code is this statement in bugtask-index.pt:

 <script type="text/javascript" tal:content="string:var subscriber_ids = ${view/subscriber_ids_js};" />

That statement causes the view load all the bug's subscribers for the sake of creating a JS structure containing all the subscriber IDs, which pretty much negates the advantage we have in loading the subscribers asynchronously.

I'm too knackered to think of a solution tonight; I'll look at it again in the morning, though suggested solutions are welcome in the mean time...