mirror of
https://github.com/WhaleFell/SMSBoom.git
synced 2026-07-09 13:26:18 +08:00
✨ feat: celery 异步框架测试运行。
celery 不支持在 windows 上调用 async 函数。所有要部署在 linux 上,部署待测试。
This commit is contained in:
7
celery-client.py
Normal file
7
celery-client.py
Normal file
@@ -0,0 +1,7 @@
|
||||
from celery_server.tasks import asyncRun
|
||||
|
||||
# r = test.delay(1,2)
|
||||
# r2 = test.delay(1,2)
|
||||
|
||||
r = asyncRun.delay("13809213237")
|
||||
print(r.get())
|
||||
Reference in New Issue
Block a user