1 Star 0 Fork 0

joozen/LearnPython

Create your Gitee Account
Explore and code with more than 14 million developers,Free private repositories !:)
Sign up
文件
This repository doesn't specify license. Please pay attention to the specific project description and its upstream code dependency when using it.
Clone or Download
python_celery_test.py 328 Bytes
Copy Edit Raw Blame History
xianhu authored 2022-04-13 22:27 +08:00 . update celery
# _*_ coding: utf-8 _*_
"""
测试
"""
import time
from python_celery import add
if __name__ == "__main__":
result = []
for i in range(10):
result.append(add.delay(i, i))
print("----", time.time())
for index, item in enumerate(result):
print(index, item.get())
print("----", time.time())
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/joozen/LearnPython.git
git@gitee.com:joozen/LearnPython.git
joozen
LearnPython
LearnPython
master

Search