increase default revocation_cache_time

1 second was originally intended as a useful value for testing purposes,
but was never intended to be a production-friendly default. Raising the
default value to match the default token_cache_time results in better
production performance.

Change-Id: I03939d41bc50b32a6aa5ebf93eb71103e16e988f
Related-Bug: 1287301
This commit is contained in:
Dolph Mathews 2014-03-06 10:26:58 -06:00
parent 813f80cab8
commit c59f0ab263
1 changed files with 1 additions and 1 deletions

View File

@ -272,7 +272,7 @@ opts = [
' configurable duration (in seconds). Set to -1 to disable'
' caching completely.'),
cfg.IntOpt('revocation_cache_time',
default=1,
default=300,
help='Determines the frequency at which the list of revoked'
' tokens is retrieved from the Identity service (in seconds). A'
' high number of revocation events combined with a low cache'