get-stacked-on-branches.py should use its own DB user

Bug #701448 reported by Tom Haddon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Triaged
Low
Unassigned

Bug Description

All scripts should be connecting to the DB with a separate user. This script is currently connecting as the launchpad_main user. The fact that it isn't using LaunchpadScript means it's also likely it's doing other bad things™.

Tom Haddon (mthaddon)
tags: added: canonical-losa-lp
Revision history for this message
Robert Collins (lifeless) wrote :

meta: I think we need a more sophisticated way to manage scripts, so that as we get more dynamic in load and worker queues we don't have needless process spawning just to track DB load.... we really don't do much with the permissions anyway.

Changed in launchpad:
status: New → Triaged
importance: Undecided → Low
Revision history for this message
Robert Collins (lifeless) wrote :

Oh, and could you please file a separate bug about the lack of use of LaunchpadScript? thanks!

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.