From d5342090922ba72944199ad7d0272d34afa9c207 Mon Sep 17 00:00:00 2001 From: Justin Paul Date: Fri, 8 May 2026 10:47:08 -0400 Subject: [PATCH] v0.1.2: bump checkpoint retention 30 -> 90 Each checkpoint is a few KB of JSON plus a tiny sidecar; even at 90 entries on a config with hundreds of endpoints the on-disk footprint is negligible (worst case ~20 MB). With daily auto-checkpoints plus on-save snapshots, 30 entries could fill in a couple weeks of moderate use; 90 gives a comfortable ~3-month window. Co-Authored-By: Claude Opus 4.7 (1M context) --- Directory.Build.props | 2 +- src/WebhookServer.Core/Storage/ConfigStore.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Directory.Build.props b/Directory.Build.props index 434a152..1537f9d 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -1,7 +1,7 @@ - 0.1.1 + 0.1.2 Justin Paul Justin Paul Webhook Server diff --git a/src/WebhookServer.Core/Storage/ConfigStore.cs b/src/WebhookServer.Core/Storage/ConfigStore.cs index e8d5417..0d1c61b 100644 --- a/src/WebhookServer.Core/Storage/ConfigStore.cs +++ b/src/WebhookServer.Core/Storage/ConfigStore.cs @@ -56,7 +56,7 @@ public sealed class ConfigStore System.IO.Path.ChangeExtension(backupPath, ".meta.json"), JsonSerializer.Serialize(sidecar, ConfigJson.Compact)); } - PruneBackups(backupsDir, retain: 30); + PruneBackups(backupsDir, retain: 90); } catch {