# # Composite with Redis primary: Default Cache Region attributes config. # appian.cacheattributes.cacheName=uiState # Default 512MB can be overridden by sail.conf.statefulSailCache.maxSizeBytes.uiState appian.cacheattributes.MaxCacheSizeBytes=536870912 # Default 1MB can be overridden by sail.conf.cache.maxSingleEntrySize.uiState appian.cacheattributes.MaxEntrySizeBytes=1048576 # Idle for 5 minutes removes entry appian.cacheattributes.MaxMemoryIdleTimeSeconds=300 # Extension of the JavaCachingSystemComposite with old sail cache behavior maintained appian.cacheattributes.MemoryCacheName=com.appiancorp.cache.sail.StatefulSailCacheImpl appian.cacheattributes.distributionMode=CUSTOM #Cache algorithm used. Redis: Distributed cache for HA appian.cacheattributes.PrimaryCache=com.appiancorp.cache.sail.StatefulSailCacheRedisPrimaryImpl # Maximum number of entries in the cache (0 = no limit) appian.cacheattributes.MaxObjects=0 #Background memory shrinkage (active eviction) DO NOT DISABLE #33524 appian.cacheattributes.ShrinkerIntervalSeconds=20 appian.cacheattributes.MaxSpoolPerRun=1000 appian.cacheattributes.AuxiliaryCache=com.appiancorp.cache.DatabaseAuxiliaryCache appian.cacheattributes.auxiliary.EntryClass=com.appiancorp.cache.sail.db.StatefulSailCacheEntry appian.cacheattributes.auxiliary.DaoInterfaceClass=com.appiancorp.cache.sail.db.StatefulSailCacheDao # 12 hour expiration in database (overridden by conf.sail.internal.DB_CONTEXT_INACTIVE_TIMEOUT_INTERVAL) appian.cacheattributes.auxiliary.ExpirationInMillis=43200000 # Cleaner runs every hour (overridden by conf.sail.internal.DB_CONTEXT_CLEANUP_INTERVAL) appian.cacheattributes.CleanupIntervalInMillis=3600000