add a log rotation worker

Fixes #609.
This commit is contained in:
Jimmy Zelinskie 2015-10-09 15:41:56 -04:00
parent 59e8905aed
commit e1f955a3f6
5 changed files with 147 additions and 0 deletions

View file

@ -197,6 +197,9 @@ class DefaultConfig(object):
# Documentation: http://pythonhosted.org/semantic_version/reference.html#semantic_version.Spec
BLACKLIST_V2_SPEC = '<1.6.0'
# Feature Flag: Whether or not to rotate old action logs to storage.
FEATURE_ACTION_LOG_ROTATION = False
BUILD_MANAGER = ('enterprise', {})
DISTRIBUTED_STORAGE_CONFIG = {
@ -218,6 +221,10 @@ class DefaultConfig(object):
LOG_ARCHIVE_LOCATION = 'local_us'
LOG_ARCHIVE_PATH = 'logarchive/'
# Action logs archive
ACTION_LOG_ARCHIVE_LOCATION = 'local_us'
ACTION_LOG_ARCHIVE_PATH = 'actionlogarchive/'
# For enterprise:
MAXIMUM_REPOSITORY_USAGE = 20