stackalytics/etc/stackalytics.conf
Ilya Shakhat 6dd3a29d1c Specify how frequently dashboard checks for data update
New config parameter 'dashboard-update-interval' is introduced.
The interval specifies how frequently dashboard should check
for updates in seconds. Default value is 1 hour (3600 seconds).

This allows to avoid situation when dashboard needs to update data
(rebuild indexes, purge cache) on every request that happens when
processor runs.

Closes bug 1324653

Change-Id: Ie86568eb5ec758e4f93bc3583f7bcce0f19df72f
2014-05-30 16:10:49 +04:00

52 lines
1.4 KiB
Plaintext

[DEFAULT]
# Run in debug mode?
# debug = False
# Default data
# default_data_uri = https://raw.github.com/stackforge/stackalytics/master/etc/default_data.json
# The folder that holds all project sources to analyze
# sources_root = /var/local/stackalytics
# Runtime storage URI
# runtime_storage_uri = memcached://127.0.0.1:11211
# Hostname where dashboard listens on
# listen_host = 127.0.0.1
# Port where dashboard listens on
# listen_port = 8080
# Number of days to update members
# days_to_update_members = 7
# The address of file with corrections data
# corrections_uri = https://raw.github.com/stackforge/stackalytics/master/etc/corrections.json
# URI of review system
# review_uri = gerrit://review.openstack.org
# SSH key for gerrit review system access
# ssh_key_filename = /home/user/.ssh/id_rsa
# SSH username for gerrit review system access
# ssh_username = user
# Forcibly read default data and update records
# force_update = False
# The address of file with list of programs
# program_list_uri = https://raw.github.com/openstack/governance/master/reference/programs.yaml
# Default metric
# default_metric = marks
# Default release, the most recent if not set
# default_release =
# Default project type
# default_project_type = openstack
# The interval specifies how frequently dashboard should check for updates in seconds
# dashboard-update-interval = 3600