perf: increase max workers to 30
This commit is contained in:
parent
0ec40a7ccc
commit
89ca4716ee
@ -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
|
## Version 1.29.0 - 2026-01-17
|
||||||
|
|
||||||
|
|||||||
@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|||||||
|
|
||||||
[project]
|
[project]
|
||||||
name = "Snek"
|
name = "Snek"
|
||||||
version = "1.29.0"
|
version = "1.30.0"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
#license = { file = "LICENSE", content-type="text/markdown" }
|
#license = { file = "LICENSE", content-type="text/markdown" }
|
||||||
description = "Snek Chat Application by Molodetz"
|
description = "Snek Chat Application by Molodetz"
|
||||||
|
|||||||
@ -29,7 +29,7 @@ class ChannelMessageService(BaseService):
|
|||||||
self._executor_pools = {}
|
self._executor_pools = {}
|
||||||
global jinja2_env
|
global jinja2_env
|
||||||
jinja2_env = self.app.jinja2_env
|
jinja2_env = self.app.jinja2_env
|
||||||
self._max_workers = 10
|
self._max_workers = 30
|
||||||
|
|
||||||
def get_or_create_executor(self, uid):
|
def get_or_create_executor(self, uid):
|
||||||
if not uid in self._executor_pools:
|
if not uid in self._executor_pools:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user