Timeout on listing pages
Bug #409912 reported by
James Westby
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
High
|
Tim Penhey |
Bug Description
Hi,
For the last few days I have been getting timeouts on branch listing pages,
such as https:/
both project and people listings, but only for me, not for other people on
the same page.
An example is OOPS-1314ED463.
Thanks,
James
tags: | added: oops timeout |
Changed in launchpad-code: | |
status: | New → Confirmed |
Changed in launchpad-code: | |
status: | In Progress → Fix Committed |
Changed in launchpad-code: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Looks like there are a bunch of merge proposal queries all taking ~2s.
SELECT COUNT(*) FROM BranchMergeProposal WHERE BranchMergeProp osal.source_ branch IN (SELECT Branch.id FROM Branch WHERE Branch.product = %s AND Branch.id IN ((SELECT Branch.id FROM Branch WHERE Branch.private = %s) UNION (SELECT Branch.id FROM Branch, TeamParticipation WHERE Branch.owner = TeamParticipati on.team AND TeamParticipati on.person = %s) UNION (SELECT Branch.id FROM Branch, BranchSubscription, TeamParticipation WHERE BranchSubscript ion.branch = Branch.id AND BranchSubscript ion.person = TeamParticipati on.team AND TeamParticipati on.person = %s AND Branch.private = %s))) AND BranchMergeProp osal.target_ branch IN ((SELECT Branch.id FROM Branch WHERE Branch.private = %s) UNION (SELECT Branch.id FROM Branch, TeamParticipation WHERE Branch.owner = TeamParticipati on.team AND TeamParticipati on.person = %s) UNION (SELECT Branch.id FROM Branch, BranchSubscription, TeamParticipation WHERE BranchSubscript ion.branch = Branch.id AND BranchSubscript ion.person = TeamParticipati on.team AND TeamParticipati on.person = %s AND Branch.private = %s)) AND BranchMergeProp osal.queue_ status IN (%s)