stabilizaiton work - projects rework for maintenanceability and ui livening

This commit is contained in:
master
2026-02-03 23:40:04 +02:00
parent 074ce117ba
commit 557feefdc3
3305 changed files with 186813 additions and 107843 deletions

View File

@@ -0,0 +1,21 @@
using System.ComponentModel.DataAnnotations;
namespace StellaOps.Provcache;
public sealed partial class ProvcacheOptions
{
/// <summary>
/// Chunk size for evidence storage in bytes.
/// Default: 64 KB.
/// </summary>
[Range(1024, 1048576, ErrorMessage = "ChunkSize must be between 1 KB and 1 MB")]
public int ChunkSize { get; set; } = 65536;
/// <summary>
/// Maximum chunks per cache entry.
/// Limits evidence size for a single entry.
/// Default: 1000.
/// </summary>
[Range(1, 100000, ErrorMessage = "MaxChunksPerEntry must be between 1 and 100000")]
public int MaxChunksPerEntry { get; set; } = 1000;
}