mirror of https://github.com/ogoun/Zero.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
487 B
18 lines
487 B
namespace ZeroLevel.Services.PartitionStorage
|
|
{
|
|
public class CacheOptions
|
|
{
|
|
public bool UsePersistentCache { get; set; }
|
|
|
|
public string PersistentCacheFolder { get; set; } = "cachee";
|
|
|
|
public int PersistentCacheRemoveTimeoutInSeconds { get; set; } = 3600;
|
|
|
|
public bool UseMemoryCache { get; set; }
|
|
|
|
public int MemoryCacheLimitInMb { get; set; } = 1024;
|
|
|
|
public int MemoryCacheRemoveTimeoutInSeconds { get; set; } = 900;
|
|
}
|
|
}
|