~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to database/schema/preflight.py

  • Committer: Stuart Bishop
  • Date: 2011-09-22 09:34:57 UTC
  • mto: This revision was merged to the branch mainline in revision 14013.
  • Revision ID: stuart.bishop@canonical.com-20110922093457-26jjz1bah2bb0vba
publish-distro.py connects as a distinct database user and is fragile

Show diffs side-by-side

added added

removed removed

Lines of Context:
41
41
# connected, so these systems will need to be shut down manually before
42
42
# a database update.
43
43
FRAGILE_USERS = frozenset([
44
 
    # Various soyuz processes connect as these users, which they
45
 
    # shouldn't be.
46
 
    'archivepublisher',
47
44
    'buildd_manager',
48
45
    # process_accepted is fragile, but also fast so we likely shouldn't
49
46
    # need to ever manually shut it down.
50
47
    'process_accepted',
51
48
    'process_upload',
 
49
    'publish_distro',
52
50
    ])
53
51
 
54
52
# How lagged the cluster can be before failing the preflight check.