Merge lp:~edwin-grubbs/launchpad/bug-615654-fillTeamParticipation-timeout into lp:launchpad
Proposed by
Edwin Grubbs
on 2010-08-17
| Status: | Merged |
|---|---|
| Approved by: | Māris Fogels on 2010-08-17 |
| Approved revision: | no longer in the source branch. |
| Merged at revision: | 11374 |
| Proposed branch: | lp:~edwin-grubbs/launchpad/bug-615654-fillTeamParticipation-timeout |
| Merge into: | lp:launchpad |
| Diff against target: |
102 lines (+44/-15) 1 file modified
lib/lp/registry/model/teammembership.py (+44/-15) |
| To merge this branch: | bzr merge lp:~edwin-grubbs/launchpad/bug-615654-fillTeamParticipation-timeout |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Māris Fogels (community) | 2010-08-17 | Approve on 2010-08-17 | |
|
Review via email:
|
|||
Description of the Change
Summary
-------
This branch optimizes the _fillTeamPartic
prevent timeouts when approving lots of teams as members. A followup
branch will queue the sending of emails, which should provide a more
complete solution to timeouts.
Tests
-----
./bin/test -vv -t member
Demo and Q/A
------------
* Open http://
* Try approving 25 teams.
* There shouldn't be a timeout.
To post a comment you must log in.

Hi Edwin,
This change looks good. r=mars.
I wish there was some better way to load test changes like this. I imagine one could do something creative by pointing the API, LaunchpadObject Factory, curl, and a stepper algorithm at staging >:)
Maris