Docs
Tenantry CoreAPI reference

TenantStoreCacheOptions class

Namespace: Tenantry · Package: Tenantry.Core · API reference

How Tenantry caches the tenants it reads from the tenant store. Set with tenant.CacheTenants(o => …).

public sealed class TenantStoreCacheOptions

Properties

Duration

How long a tenant read from the store is reused before the store is asked again. Defaults to 5 minutes. It must be positive.

public TimeSpan Duration { get; set; }

Value: TimeSpan

On this page