reversed task list order
This commit is contained in:
@@ -224,10 +224,6 @@ def myqueue(queue,function,*args,**kwargs):
|
||||
if settings.DEBUG:
|
||||
kwargs['debug'] = True
|
||||
|
||||
print 'myqueue'
|
||||
print args
|
||||
print kwargs
|
||||
|
||||
job = function.delay(*args,**kwargs)
|
||||
else:
|
||||
job_id = str(uuid.uuid4())
|
||||
|
||||
@@ -440,7 +440,7 @@ def get_stored_tasks_status(request):
|
||||
taskids = []
|
||||
|
||||
taskstatus = []
|
||||
for id,func_name in taskids:
|
||||
for id,func_name in reversed(taskids):
|
||||
progress = 0
|
||||
cached_progress = cache.get(id)
|
||||
finished = get_job_status(id)['finished']
|
||||
|
||||
Reference in New Issue
Block a user