Skip to content

Commit

Permalink
Merge branch 'main' into terragrunt-iac
Browse files Browse the repository at this point in the history
  • Loading branch information
LesnyRumcajs authored Jan 19, 2024
2 parents 4582f70 + 35223f8 commit 12eb6e0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cf/prune-latest/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ export interface Env {
}

// Number of recent snapshots to keep. Roughly 1 new snapshot is uploaded every hour.
const KEEP_COUNT: number = 10;
// Keep 24*14=336 snapshots for approximately 14 days of retention.
const KEEP_COUNT: number = 24 * 14;

async function prune(env: Env, chain: string): Promise<string> {
const listed = await env.FOREST_ARCHIVE.list({ prefix: chain + "/latest/" });
Expand Down

0 comments on commit 12eb6e0

Please sign in to comment.