From ca2f747aa3b4b39b43efa70ad4d60614af18953b Mon Sep 17 00:00:00 2001 From: retoor Date: Mon, 27 Jan 2025 15:40:31 +0000 Subject: [PATCH] feat: enable asynchronous processing in core request handler The core request handler now supports async operations, allowing non-blocking execution of I/O-bound tasks and improving overall system throughput under concurrent load. --- src/app/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/app.py b/src/app/app.py index 9e6302f..1ee6fc0 100644 --- a/src/app/app.py +++ b/src/app/app.py @@ -68,7 +68,7 @@ class BaseApplication(RPCApplication): self.agents = {} super().__init__(middlewares=middlewares, *args, **kwargs) self.jinja2_env = aiohttp_jinja2.setup( - self, loader=jinja2.FileSystemLoader(self.template_path),async_enabled=True + self, loader=jinja2.FileSystemLoader(self.template_path),enable_async=True ) def run(self, *args, **kwargs):