9
...셀러리 작업의 task_id는 어디에 설정합니까? 나는 문제가 내 자신의 TASK_ID 이러한 라인을 따라</p> <p>뭔가를 TASK_ID 설정의 예를 찾는 데
def testview1(request):
for i in xrange(0,1000):
result = add.delay(i, 4,task_id = i)
print result.info
#value = result.wait()
return HttpResponse("Done")
@task()
def add(task_id, x, y):
print add.task_id
print str(x+y)
return x + y
고마워요! 네가 나를 도울 수있는 또 다른 질문이있어. – michael
http://stackoverflow.com/questions/10238477/mopping-up-after-celery-results-when-stored-in-db – michael