Fix expiration handlers #120
Labels
No labels
Bug
Cleanup/Refactor
Core Feature
Documentation
Feature
Performance Improvement
Security Improvement
UX/Accessibility
Unreproducable Bug
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: rainbownapkin/canopy#120
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Current expiration handling functions can error out due to simultaneous writes, and should be re-written to wait on the DB.
Furthermore, they should query expired items by date instead of scraping through them manually...
Fixed buggy expiration handlers, performance issues remain due to bugs w/ mongoose (see code comments for more info):
730d816c45