EPIC: Dataset Cleanup
Currently, all items that get added have no expiration set. It makes sense to have an expiration time set that turns off the current flag within the incident doc. To implement this, there may need to be a scheduled task within lambda that checks expirations. Alternatively, every check-in on the API will perform the logic. That may cause some extra I/O when there is an incident to be expired, but may be easier and less rube-goldbergy.
EPIC: Dataset Cleanup
Currently, all items that get added have no expiration set. It makes sense to have an expiration time set that turns off the current flag within the incident doc. To implement this, there may need to be a scheduled task within lambda that checks expirations. Alternatively, every check-in on the API will perform the logic. That may cause some extra I/O when there is an incident to be expired, but may be easier and less rube-goldbergy.