Repaired websockets.
This commit is contained in:
parent
529606955a
commit
af4a70e894
@ -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")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user