Files
notifications-api/app
Leo Hemsted dc5b56ff78 Change sql to chunk by hour to remove old notifications
insert/update, and then delete notifications in hourly batches. This
means that if the task gets interrupted part-way through, we'll have at
least something to show for it. Previously we would insert and update
into the history table but might not delete from the notification table
properly.

Keeping the offsets and limits for confidence around reliability and
queries timing out.

Keeping the join to notification_history to ensure we don't delete
anything prematurely while our DB is in a bit of a weird state with lots
of these tasks failing over the last week.
2020-03-20 19:07:08 +00:00
..
2020-03-16 16:45:34 +00:00
2019-12-13 10:02:39 +00:00
2020-02-24 11:26:16 +00:00
2020-02-18 14:59:46 +00:00
2020-01-24 13:18:37 +00:00
2020-03-19 13:41:14 +00:00
2020-02-14 14:15:41 +00:00
2020-01-24 13:18:37 +00:00
2020-03-16 16:45:34 +00:00
2019-12-03 14:19:14 +00:00