~smoser/ubuntu/trusty/maas/lp-1172566

« back to all changes in this revision

Viewing changes to src/maasserver/locks.py

  • Committer: Package Import Robot
  • Author(s): Andres Rodriguez
  • Date: 2014-04-03 13:45:02 UTC
  • mto: This revision was merged to the branch mainline in revision 58.
  • Revision ID: package-import@ubuntu.com-20140403134502-8a6wvuqwyuekufh0
Tags: upstream-1.5+bzr2227
ImportĀ upstreamĀ versionĀ 1.5+bzr2227

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
 
14
14
__metaclass__ = type
15
15
__all__ = [
 
16
    "eventloop",
16
17
    "security",
17
18
    "startup",
18
19
]
25
26
# Lock around performing critical security-related operations, like
26
27
# generating or signing certificates.
27
28
security = DatabaseLock(2)
 
29
 
 
30
# Lock used when starting up the event-loop.
 
31
eventloop = DatabaseLock(3)