rogerxavier
commited on
Commit
•
3cd722b
1
Parent(s):
7ca96aa
Update api.py
Browse files
api.py
CHANGED
@@ -61,7 +61,7 @@ async def execute_py_file(file_name: str):
|
|
61 |
|
62 |
|
63 |
def someTask():
|
64 |
-
time.sleep(
|
65 |
print("睡眠2s结束")
|
66 |
|
67 |
@app.get("/backTaskTest")
|
|
|
61 |
|
62 |
|
63 |
def someTask():
|
64 |
+
time.sleep(2000)
|
65 |
print("睡眠2s结束")
|
66 |
|
67 |
@app.get("/backTaskTest")
|