Closed shen-xianpeng closed 1 year ago
I can't reproduce this. I just tried this with the demo code, and it queues the 26 tasks as expected.
from demo import *
import string
inputs = '/home/greg/tmp/spark-celery/wordcount'
tasks = [WordCount().delay('wordcount', c) for c in string.ascii_lowercase]
for t in tasks:
print(t.wait())
now if i run tasks quickly like below, no waiting , one by another: async_exec.delay("a");async_exec.delay("b"); it will raise a Error:
async_exec.delay("a").wait();async_exec.delay("b").wait() works fine