There's an XXX comment by BjornT above the line of code that's causing the problem (browser/bug.py:334):
We might end up returning less than :limit: bugs, but in
most cases we won't, and '4*limit' is here to prevent
this page from timing out in production. Later I'll fix
this properly by selecting bugs instead of bugtasks.
If fixed_bugtasks isn't sliced, it will take a long time
to iterate over it, even over just 10, because
Transaction.iterSelect() listifies the result.
I wonder if the workaround that this XXX marks is no longer working around the problem.
There's an XXX comment by BjornT above the line of code that's causing the problem (browser/ bug.py: 334):
We might end up returning less than :limit: bugs, but in iterSelect( ) listifies the result.
most cases we won't, and '4*limit' is here to prevent
this page from timing out in production. Later I'll fix
this properly by selecting bugs instead of bugtasks.
If fixed_bugtasks isn't sliced, it will take a long time
to iterate over it, even over just 10, because
Transaction.
I wonder if the workaround that this XXX marks is no longer working around the problem.