feat: develop添加测试任务
This commit is contained in:
parent
7b34ddd70c
commit
3343d30f77
|
@ -54,7 +54,8 @@ def backup_media():
|
||||||
@shared_task
|
@shared_task
|
||||||
def test_task():
|
def test_task():
|
||||||
import time
|
import time
|
||||||
|
x = 1
|
||||||
while True:
|
while x < 300:
|
||||||
print("test")
|
print(f"test_{x}")
|
||||||
time.sleep(10)
|
time.sleep(1)
|
||||||
|
x += 1
|
||||||
|
|
Loading…
Reference in New Issue