checking 'well known' teams requires two queries at startup and in tests

Bug #722447 reported by Robert Collins
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Triaged
High
Unassigned

Bug Description

This is because we:
 - load the team
 - do a membership check

If we did one query, always, we'd have less gradual memory bloat on the appservers, more test isolation. We could do this by querying for person, teamparticipation where person.name='teamname'. /If/ we need to cache this, we can cache it on the person by the name of the team : thats near enough to immutable to be quite reliable within a single request.

High because of the benefits to testing (query count tests) and appserver leanness.

Tags: easy
tags: added: easy
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.