Skip to content

Bug 867982 - Add script for deleting makes deleted more than 2 weeks pri...#177

Merged
cadecairos merged 1 commit into
mozilla:masterfrom
cadecairos:bug867982
Nov 29, 2013
Merged

Bug 867982 - Add script for deleting makes deleted more than 2 weeks pri...#177
cadecairos merged 1 commit into
mozilla:masterfrom
cadecairos:bug867982

Conversation

@cadecairos
Copy link
Copy Markdown
Contributor

...or to the current time at the scripts execution

https://bugzilla.mozilla.org/show_bug.cgi?id=867982

Comment thread scripts/cleanup.js Outdated
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

instead of a boolean flag, wouldn't it make more sense to do something like increment a int every time you stream in a new document, then inside the callback check if numStreamed === numDeleted?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Actually, I was supposed to rip this out :D

…prior to the current time at the scripts execution
@cadecairos cadecairos merged commit 6593246 into mozilla:master Nov 29, 2013
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