Queue runner should run only a single snapshot at a time #22

Open
opened 2016-04-22 20:35:36 +12:00 by dave · 0 comments
dave commented 2016-04-22 20:35:36 +12:00 (Migrated from git.oeru.org)

Created by: jtittsler

watch.py currently will launch one copy of the snapshot script each time it is called by cron, without checking if any other copies of the script are currently running. This was done intentionally so that one broken snapshot couldn't snarl the queue. But in practice, the snapshot tool has proven to be good about returning an error (rather than just disappearing), and so it seems safe to make it a "proper" queue.

*Created by: jtittsler* `watch.py` currently will launch one copy of the snapshot script each time it is called by `cron`, without checking if any other copies of the script are currently running. This was done intentionally so that one broken snapshot couldn't snarl the queue. But in practice, the snapshot tool has proven to be good about returning an error (rather than just disappearing), and so it seems safe to make it a "proper" queue.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
OERF/course-snapshot#22
No description provided.