Repaired websockets.

This commit is contained in:
retoor 2025-03-23 18:52:12 +01:00
parent 529606955a
commit af4a70e894

View File

@ -178,10 +178,10 @@ class Application(BaseApplication):
return await super().render_template(template, request, context)
executor = ThreadPoolExecutor(max_workers=100)
executor = ThreadPoolExecutor(max_workers=200)
#loop = asyncio.get_event_loop()
#loop.set_default_executor(executor)
loop = asyncio.get_event_loop()
loop.set_default_executor(executor)
app = Application(db_path="sqlite:///snek.db")