Make team sync timeout config actually configurable

This commit is contained in:
Joseph Schorr 2017-09-06 14:08:30 -04:00
parent 27367ad99e
commit 783799c227

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')