Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Core & Internals: allow external cache for auth tokens. Closes #5297 #5309

Merged
merged 1 commit into from
Mar 7, 2022

Conversation

rcarpa
Copy link
Contributor

@rcarpa rcarpa commented Mar 2, 2022

Allow setting auth tokens in memcached, but make it configurable and
default this behavior to disabled.

Also reduce the duration of token, for #5303

@rcarpa rcarpa requested a review from mlassnig as a code owner March 2, 2022 11:28
mlassnig
mlassnig previously approved these changes Mar 2, 2022
Copy link
Contributor

@mlassnig mlassnig left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

…5297

Allow setting auth tokens in memcached, but make it configurable and
default this behavior to disabled.

Also reduce the duration of token, for rucio#5303
@rcarpa rcarpa force-pushed the patch-5297-memcached_for_auth_tokens branch from c35ac00 to c9791eb Compare March 3, 2022 15:58
@bari12
Copy link
Member

bari12 commented Mar 7, 2022

LGTM

Please approve it then as well 😄

@bari12 bari12 merged commit 3c06bb2 into rucio:master Mar 7, 2022
'dogpile.cache.memory',
expiration_time=3600
)
if config_get_bool('cache', 'use_external_cache_for_auth_tokens', default=False):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just one comment, please add this also to the documentation
http://rucio.cern.ch/documentation/configuration_parameters

@rcarpa rcarpa deleted the patch-5297-memcached_for_auth_tokens branch March 24, 2022 15:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants