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 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: