Архивация списков #13
+2
-1
@@ -18,4 +18,5 @@ workspace.xml
|
||||
**/bin/
|
||||
**/obj/
|
||||
.DS_Store
|
||||
logs/
|
||||
logs/
|
||||
appsettings.Local.json
|
||||
@@ -21,6 +21,11 @@ const string CorsPolicyName = "Frontend";
|
||||
|
||||
var builder = WebApplication.CreateBuilder(args);
|
||||
|
||||
// Локальные оверрайды, не попадающие в git (см. .gitignore) — на своей машине
|
||||
// можно, например, занизить ListPartitioning:ItemCountThreshold, чтобы не
|
||||
// накапливать тысячи тестовых заявок для проверки создания партиций.
|
||||
builder.Configuration.AddJsonFile("appsettings.Local.json", optional: true, reloadOnChange: true);
|
||||
|
||||
builder.Host.UseSerilog((context, services, configuration) => configuration
|
||||
.ReadFrom.Configuration(context.Configuration)
|
||||
.Enrich.FromLogContext()
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
]
|
||||
},
|
||||
"ListPartitioning": {
|
||||
"ItemCountThreshold": 2,
|
||||
"ItemCountThreshold": 4900,
|
||||
"StaleLockAfter": "00:30:00",
|
||||
"CheckThresholdOnRead": true
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user