罗俊辉 1 年之前
父節點
當前提交
ded2f2d53b
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      applications/routes.py

+ 2 - 0
applications/routes.py

@@ -4,6 +4,7 @@
 import os
 import time
 import uuid
+import asyncio
 from quart import Blueprint, jsonify, request
 
 from applications.log import logging
@@ -25,6 +26,7 @@ async def hello():
         info="请求接口成功",
         port="healthcheck"
     )
+    await asyncio.sleep(30)
     return jsonify({'message': 'Hello, World!'})