Skip to content

Commit 37f66c4

Browse files
authored
Merge pull request #381 from PolicyEngine/chore/bill
Lower tagged versions from 40 to 5
2 parents 7d8b1da + 6a8bf65 commit 37f66c4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/gcp-deploy.reusable.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ jobs:
198198
python ../../../scripts/cleanup_old_revisions.py \
199199
"$TAGGER_URL" \
200200
"${{ steps.tagger-token.outputs.id_token }}" \
201-
40
201+
5
202202
203203
integ_test:
204204
name: Run integration test

projects/policyengine-api-tagger/src/policyengine_api_tagger/api/revision_cleanup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ async def _analyze_tags(
274274
errors,
275275
)
276276

277-
async def preview(self, keep_count: int = 40) -> CleanupResult:
277+
async def preview(self, keep_count: int = 5) -> CleanupResult:
278278
"""
279279
Preview what cleanup would do without making changes.
280280
@@ -313,7 +313,7 @@ async def preview(self, keep_count: int = 40) -> CleanupResult:
313313
errors=errors,
314314
)
315315

316-
async def cleanup(self, keep_count: int = 40) -> CleanupResult:
316+
async def cleanup(self, keep_count: int = 5) -> CleanupResult:
317317
"""
318318
Clean up old traffic tags, keeping the specified number.
319319

0 commit comments

Comments
 (0)