mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-14 17:22:17 -05:00
Add celery task to check job finished
- celery task called after countdown of 60 minutes from start of job processing
This commit is contained in:
@@ -19,6 +19,7 @@ if os.environ.get('VCAP_SERVICES'):
|
||||
|
||||
|
||||
class QueueNames(object):
|
||||
CHECK_JOBS = 'check-job-status-tasks'
|
||||
PERIODIC = 'periodic-tasks'
|
||||
PRIORITY = 'priority-tasks'
|
||||
DATABASE = 'database-tasks'
|
||||
@@ -34,6 +35,7 @@ class QueueNames(object):
|
||||
@staticmethod
|
||||
def all_queues():
|
||||
return [
|
||||
QueueNames.CHECK_JOBS,
|
||||
QueueNames.PRIORITY,
|
||||
QueueNames.PERIODIC,
|
||||
QueueNames.DATABASE,
|
||||
|
||||
Reference in New Issue
Block a user