Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
rgw: swift: disable revocation thread if sleep == 0 #14501
Keystone tokens can be revoked. This causes them to fail
This code makes the revocation thread optional; by disabling it,
To disable the revocation thread, set
Signed-off-by: Marcus Watts firstname.lastname@example.org
I've pushed a new version. Slight formatting changes, plus one change: now possible to disable thread by setting either of rgw_keystone_revocation_interval or rgw_keystone_token_cache_size to 0. Setting cache size = 0 makes revocation work at the cost of doing token validation on every use. Setting revocation_interval = 0 allows the cache to be useful, but makes token revocation iffy.
@mdw-at-linuxbox: I'm not sure whether the
Anyway, it's very minor regarding solely the commit message, not the code. That doesn't prevent testing.