From 5f3569e37e47dcb1fac76cb8a58f387a8f8d5e5c Mon Sep 17 00:00:00 2001 From: retoor Date: Mon, 27 Jan 2025 15:37:07 +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 e6f953a..9e6302f 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) + self, loader=jinja2.FileSystemLoader(self.template_path),async_enabled=True ) def run(self, *args, **kwargs):