Enable async.
All checks were successful
Build Base Application / Build (push) Successful in 1m53s

This commit is contained in:
retoor 2025-01-27 16:40:31 +01:00
parent eff6b3beeb
commit f8e5a219c8

View File

@ -68,7 +68,7 @@ class BaseApplication(RPCApplication):
self.agents = {} self.agents = {}
super().__init__(middlewares=middlewares, *args, **kwargs) super().__init__(middlewares=middlewares, *args, **kwargs)
self.jinja2_env = aiohttp_jinja2.setup( 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): def run(self, *args, **kwargs):