~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/services/features/flags.py

Merge db-devel.

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
     'Any non-empty value is true; an empty value is false.'),
25
25
    ('float',
26
26
     'The flag value is set to the given floating point number.'),
 
27
    ('int',
 
28
     "An integer."),
27
29
    ])
28
30
 
29
 
# This table of flag name, value domain, and prose documentation is used to
30
 
# generate the web-visible feature flag documentation.
 
31
# Data for generating web-visible feature flag documentation.
 
32
#
 
33
# Entries for each flag are:
 
34
# flag name, value domain, prose documentation, default behaviour.
 
35
#
 
36
# Value domain as in value_domain_info above.
 
37
#
 
38
# NOTE: "default behaviour" does not specify a default value.  It
 
39
# merely documents the code's behaviour if no value is specified.
31
40
flag_info = sorted([
32
41
    ('code.branchmergequeue',
33
42
     'boolean',
65
74
     'boolean',
66
75
     'Overrides config.profiling.profiling_allowed to permit profiling.',
67
76
     ''),
 
77
    ('soyuz.derived_series.max_synchronous_syncs',
 
78
     'int',
 
79
     "How many package syncs may be done directly in a web request.",
 
80
     '100'),
68
81
    ('soyuz.derived-series-ui.enabled',
69
82
     'boolean',
70
83
     'Enables derivative distributions pages.',