mirror of
https://github.com/GSA/notifications-api.git
synced 2026-04-18 08:10:59 -04:00
help prevent issues where scheduled jobs are processed twice. note this is NOT a watertight solution - it holds no locks, and there is no guarantee that the status won't have updated between asserting that its status is 'pending' and updating it to be 'in progress'