From 39e2af541a127dee1a8e562d0b19136ffc7393d2 Mon Sep 17 00:00:00 2001 From: Valeriu Predoi Date: Wed, 27 May 2026 14:23:49 +0100 Subject: [PATCH 1/6] reduce max threads to 10 --- activestorage/active.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/activestorage/active.py b/activestorage/active.py index 1779fbe3..e7b7bd72 100644 --- a/activestorage/active.py +++ b/activestorage/active.py @@ -189,7 +189,7 @@ def __init__(self, ncvar: str = None, axis: tuple = None, interface_type: str = None, - max_threads: int = 100, + max_threads: int = 10, storage_options: dict = None, active_storage_url: str = None, option_disable_chunk_cache: bool = False) -> None: From bb83a795dd867840f5df60e9785257cbaf7de71b Mon Sep 17 00:00:00 2001 From: Valeriu Predoi Date: Wed, 27 May 2026 14:25:47 +0100 Subject: [PATCH 2/6] run thests GHA --- .github/workflows/run-tests.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 7a804b28..b3b3e07f 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -4,6 +4,7 @@ on: push: branches: - main + - reduce_maxthreads schedule: - cron: '0 0 * * *' # nightly @@ -36,7 +37,7 @@ jobs: - run: conda list - run: pip install -e . - run: conda list - - run: pytest -n 2 + - run: pytest -n 2 tests/test_real_https.py osx: runs-on: "macos-latest" @@ -61,4 +62,4 @@ jobs: - run: conda list - run: mamba install -c conda-forge git - run: pip install -e . - - run: pytest -n 2 + - run: pytest -n 2 tests/test_real_https.py From e04ecc583c6453fea4fcf94cabd70995b492c542 Mon Sep 17 00:00:00 2001 From: Valeriu Predoi Date: Wed, 27 May 2026 15:12:22 +0100 Subject: [PATCH 3/6] up maxthreads to 20 --- activestorage/active.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/activestorage/active.py b/activestorage/active.py index e7b7bd72..3c407d42 100644 --- a/activestorage/active.py +++ b/activestorage/active.py @@ -189,7 +189,7 @@ def __init__(self, ncvar: str = None, axis: tuple = None, interface_type: str = None, - max_threads: int = 10, + max_threads: int = 20, storage_options: dict = None, active_storage_url: str = None, option_disable_chunk_cache: bool = False) -> None: From 810195c3396cd9240ad2b7b218fdc205f0ce92b2 Mon Sep 17 00:00:00 2001 From: Valeriu Predoi Date: Wed, 27 May 2026 15:29:09 +0100 Subject: [PATCH 4/6] up maxthreads to 40 --- activestorage/active.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/activestorage/active.py b/activestorage/active.py index 3c407d42..f4d255a9 100644 --- a/activestorage/active.py +++ b/activestorage/active.py @@ -189,7 +189,7 @@ def __init__(self, ncvar: str = None, axis: tuple = None, interface_type: str = None, - max_threads: int = 20, + max_threads: int = 40, storage_options: dict = None, active_storage_url: str = None, option_disable_chunk_cache: bool = False) -> None: From 6071973fcbc7f93ca8516817a126b2ffa8946ae6 Mon Sep 17 00:00:00 2001 From: Valeriu Predoi Date: Wed, 27 May 2026 15:46:22 +0100 Subject: [PATCH 5/6] up maxthreads to 100 --- activestorage/active.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/activestorage/active.py b/activestorage/active.py index f4d255a9..1779fbe3 100644 --- a/activestorage/active.py +++ b/activestorage/active.py @@ -189,7 +189,7 @@ def __init__(self, ncvar: str = None, axis: tuple = None, interface_type: str = None, - max_threads: int = 40, + max_threads: int = 100, storage_options: dict = None, active_storage_url: str = None, option_disable_chunk_cache: bool = False) -> None: From 9431f3877d1571a53f8d6d32ec79178803eb1b48 Mon Sep 17 00:00:00 2001 From: Valeriu Predoi Date: Wed, 27 May 2026 16:02:20 +0100 Subject: [PATCH 6/6] up maxthreads to 60 --- activestorage/active.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/activestorage/active.py b/activestorage/active.py index 1779fbe3..1aa0645c 100644 --- a/activestorage/active.py +++ b/activestorage/active.py @@ -189,7 +189,7 @@ def __init__(self, ncvar: str = None, axis: tuple = None, interface_type: str = None, - max_threads: int = 100, + max_threads: int = 60, storage_options: dict = None, active_storage_url: str = None, option_disable_chunk_cache: bool = False) -> None: