Merge pull request #966 from element-hq/gaelg/max-asyncio-tasks

pytest: set a maximum number of cooperative asyncio tasks.
This commit is contained in:
Gaël Goinvic authored and GitHub committed 2026-01-08 17:49:27 +01:00
commit 8d1ce7a3af
4 files changed
+4 -1

No files matched your search

+1
View File
@@ -3,6 +3,7 @@ ansible
Ansible
appservices
Artifacthub
asyncio
checkov
deployables
dialog
+1 -1
View File
@@ -1,4 +1,4 @@
Copyright 2025 New Vector Ltd
Copyright 2025 Element Creations Ltd
Copyright 2025-2026 Element Creations Ltd
SPDX-License-Identifier: AGPL-3.0-only
+1
View File
@@ -0,0 +1 @@
CI: Set a maximum number of cooperative asyncio tasks.
+1
View File
@@ -51,6 +51,7 @@ build-backend = "poetry.core.masonry.api"
[tool.pytest.ini_options]
# we use asyncio-cooperative
addopts = "-p no:asyncio --strict-markers"
max_asyncio_tasks = 32
[tool.ruff]
line-length = 120