Projet

Général

Profil

Révision 3ec624e8

ID3ec624e84472bc9d6c3f55ffad1f61d4e96c9b53
Parent fd2a8b3b
Enfant b7d577ce

Ajouté par Alisson Patricio il y a plus de 13 ans

Update task's states to work with Celery 3.0

Voir les différences:

plugins/celery/celery_tasks-2
61 61
		'task_details': '/api/task/name/%s',
62 62
}
63 63
TASK_STATES = (
64
			'task-accepted',
65
			'task-received',
66
			'task-succeeded',
67
			'task-failed',
68
			'task-retried',
64
			'PENDING',
65
			'RECEIVED',
66
			'STARTED',
67
			'SUCCESS',
68
			'FAILURE',
69
			'REVOKED',
70
			'RETRY'
69 71
)
70 72

  
71 73
def get_data(what, api_url, *args):

Formats disponibles : Unified diff