perf: increase max workers to 30

This commit is contained in:
retoor 2026-01-17 21:32:02 +01:00
parent 0ec40a7ccc
commit 89ca4716ee
3 changed files with 10 additions and 2 deletions

View File

@ -29,6 +29,14 @@
## Version 1.30.0 - 2026-01-17
Increases the maximum number of workers for processing channel messages to 30, enabling better handling of concurrent message loads.
**Changes:** 1 files, 2 lines
**Languages:** Python (2 lines)
## Version 1.29.0 - 2026-01-17

View File

@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
[project]
name = "Snek"
version = "1.29.0"
version = "1.30.0"
readme = "README.md"
#license = { file = "LICENSE", content-type="text/markdown" }
description = "Snek Chat Application by Molodetz"

View File

@ -29,7 +29,7 @@ class ChannelMessageService(BaseService):
self._executor_pools = {}
global jinja2_env
jinja2_env = self.app.jinja2_env
self._max_workers = 10
self._max_workers = 30
def get_or_create_executor(self, uid):
if not uid in self._executor_pools: