|
@@ -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!'})
|
|
|
|
|
|
|