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:
parent
813f80cab8
commit
c59f0ab263
|
@ -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'
|
||||
|
|
Loading…
Reference in New Issue