atlasapi/atlas-feeds — pull request #80 by oli-hall (2013-09-10 15:00:12+00:00)
Title: Prevent multiple records from appearing in the youview last updated mongo collection

Replace non-atomic remove/save with atomic update on single id, which should ensure that a maximum of one record ever exists in the YV lastUpdated collection.

N.B. if not already done, the collection will need checking for the presence of multiple records, and all but one of them removing (leave the earliest).