fix api response time

main
cahe 2 years ago
parent 647078928c
commit 31402904b1

@ -87,7 +87,7 @@ data:
class GetHandler(BaseHTTPRequestHandler): class GetHandler(BaseHTTPRequestHandler):
def do_GET(self): def do_GET(self):
sleep(1) sleep(5)
x = self.wfile.write x = self.wfile.write
self.send_response(200) self.send_response(200)
self.send_header("Content-type", "text/html") self.send_header("Content-type", "text/html")

Loading…
Cancel
Save