thread_pool = ThreadPoolExecutor(max_workers=20) app = Sanic() @app.route('/') async def test(request): return text(await loop.run_in_executor(thread_pool, ...
確定! 回上一頁