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

DistributedCacheEntryOptions configurable #20205

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

842549829
Copy link

DistributedCacheEntryOptions configurable

Change the DistributedCacheEntryOptions to can configure option Instead of directly instantiated

Description

Resolves #xxxx (write the related issue number if available)

Change the DistributedCacheEntryOptions to can configure option Instead of directly instantiated
From
new DistributedCacheEntryOptions() { SlidingExpiration = TimeSpan.FromDays(30) };
To
Configure<DistributedCacheEntryOptions>(options => { options.SlidingExpiration = TimeSpan.FromDays(30); });

Checklist

  • I fully tested it as developer / integration tests

…pPermissionManagementDomainModule):DistributedCacheEntryOptions configurable

Change the DistributedCacheEntryOptions to can configure option Instead of directly instantiated
@CLAassistant
Copy link

CLAassistant commented Jul 11, 2024

CLA assistant check
All committers have signed the CLA.

@maliming
Copy link
Member

The DistributedCacheEntryOptions is used in the permissions, features, and settings module, so we can use the named DistributedCacheEntryOptions in these modules.

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.

3 participants