Disable statistics until the necessary data is available

Signed-off-by: Adrian Reber <adrian@lisas.de>
This commit is contained in:
Adrian Reber 2015-12-17 14:12:37 +00:00
parent 71f302e6fd
commit 797ec36fb6

View file

@ -75,7 +75,7 @@ SMTP_SERVER = 'localhost'
# When this is set to True, an additional menu item is shown which can
# be used to browse the different statistics generated by
# mirrorlist_statistics.py.
SHOW_STATISTICS = True
SHOW_STATISTICS = False
# This is the directory the code enabled by SHOW_STATISTICS will use
# to locate the statistics files and display them.
@ -86,7 +86,7 @@ EMBARGOED_COUNTRIES = ['CU', 'IR', 'KP', 'SD', 'SY']
# When this is set to True, an additional menu item is shown which
# displays the maps generated with mm2_generate-worldmap.
SHOW_MAPS = True
SHOW_MAPS = False
# Location of the static map displayed in the map tab.
STATIC_MAP = '/map/map.png'
@ -97,7 +97,7 @@ INTERACTIVE_MAP = '/map/mirrors.html'
# The crawler can generate propagation statistics which can be
# converted into svg/pdf with mm2_propagation. These files
# can be displayed next to the statistics and maps tab if desired.
SHOW_PROPAGATION = True
SHOW_PROPAGATION = False
# Where to look for the above mentioned propagation images.
PROPAGATION_BASE = '/var/www/mirrormanager-statistics/data/propagation'