~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/services/webapp/haproxy.py

  • Committer: Curtis Hovey
  • Date: 2011-12-29 05:29:36 UTC
  • mto: This revision was merged to the branch mainline in revision 14606.
  • Revision ID: curtis.hovey@canonical.com-20111229052936-c261pibg1p6ze6m4
Moved canonical.config to lp.services.

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
    'switch_going_down_flag',
12
12
    ]
13
13
 
14
 
from canonical.config import config
 
14
from lp.services.config import config
15
15
 
16
16
# This is the global flag, when this is True, the HAProxy view
17
17
# will return 500, it returns 200 otherwise.
51
51
 
52
52
    The returned result code when the server is going down can be configured
53
53
    through the haproxy_status_view.going_down_status configuration variable.
54
 
    It defaults to 500 (as set in lib/canonical/config/schema-lazr.conf).
 
54
    It defaults to 500 (as set in lib/lp/services/config/schema-lazr.conf).
55
55
    """
56
56
 
57
57
    def __init__(self, context, request):