File tree Expand file tree Collapse file tree 1 file changed +0
-18
lines changed
Expand file tree Collapse file tree 1 file changed +0
-18
lines changed Original file line number Diff line number Diff line change @@ -365,24 +365,6 @@ async def kv_move_status(websocket: WebSocket):
365365 return
366366
367367
368- @app .get ("/profiler_start" )
369- async def profiler_start () -> Response :
370- if g_objs .args .enable_profiling :
371- await g_objs .httpserver_manager .profiler_cmd ("start" )
372- return JSONResponse ({"status" : "ok" })
373- else :
374- return JSONResponse ({"message" : "Profiling support not enabled" }, status_code = 400 )
375-
376-
377- @app .get ("/profiler_stop" )
378- async def profiler_stop () -> Response :
379- if g_objs .args .enable_profiling :
380- await g_objs .httpserver_manager .profiler_cmd ("stop" )
381- return JSONResponse ({"status" : "ok" })
382- else :
383- return JSONResponse ({"message" : "Profiling support not enabled" }, status_code = 400 )
384-
385-
386368@app .on_event ("shutdown" )
387369async def shutdown ():
388370 logger .info ("Received signal to shutdown. Performing graceful shutdown..." )
You can’t perform that action at this time.
0 commit comments