Merge pull request #2861 from coreos-inc/fix-stale-config

Make team sync timeout config actually configurable
This commit is contained in:
josephschorr 2017-09-06 14:09:37 -04:00 committed by GitHub
commit 178b512b4d

View file

@ -85,4 +85,4 @@ def add_enterprise_config_defaults(config_obj, current_secret_key, hostname):
config_obj['PREFERRED_URL_SCHEME'] = config_obj.get('PREFERRED_URL_SCHEME', 'http')
config_obj['ENTERPRISE_LOGO_URL'] = config_obj.get(
'ENTERPRISE_LOGO_URL', '/static/img/quay-logo.png')
config_obj['TEAM_RESYNC_STALE_TIME'] = '60m'
config_obj['TEAM_RESYNC_STALE_TIME'] = config_obj.get('TEAM_RESYNC_STALE_TIME', '60m')