Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: Copy modified purge script from old tokenserver repo #1512

Merged
merged 21 commits into from
Feb 27, 2024

Conversation

jrconlin
Copy link
Member

@jrconlin jrconlin commented Jan 9, 2024

No description provided.

@jrconlin jrconlin requested a review from pjenvey January 9, 2024 17:49
Copy link
Member

@pjenvey pjenvey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll note there's a test suite for this here which could potentially test these new flags

tools/tokenserver/purge_old_records.py Outdated Show resolved Hide resolved
@jrconlin jrconlin requested a review from pjenvey February 21, 2024 16:49
@jrconlin
Copy link
Member Author

FINALLY able to dismiss the old review.

Copy link
Member

@pjenvey pjenvey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe it's just Friday but I found the "if settings and ..." a bit confusing so I abandoned the settings addition for yet way more args.

We were also missing this line and wiring up the newer --max-records opt:

bug/purge_old_rec...bug/purge_old_rec-pjenvey

@jrconlin jrconlin merged commit 06ecb78 into master Feb 27, 2024
8 checks passed
@jrconlin jrconlin deleted the bug/purge_old_rec branch February 27, 2024 20:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants