Set default IOWORKERS to 2

5 might be too high for HDD setup, which makes packages/ iterating even slower than only 1 thread in local testing. Use a smaller value for this now.
This commit is contained in:
taoky
2024-09-04 01:08:50 +08:00
parent 7d78d998ba
commit 20c1462ec7
2 changed files with 2 additions and 2 deletions

View File

@ -101,7 +101,7 @@ If you already have a PyPI repo, use `genlocal` first to generate a local db:
`verify` command accepts same arguments as sync, and accepts some new arguments. Please check `./shadowmire.py verify --help` for more information.
> [!TIP]
> You could set `SHADOWMIRE_IOWORKERS` environment variable to a number to set threads to do local I/O. Defaults to 5.
> You could set `SHADOWMIRE_IOWORKERS` environment variable to a number to set threads to do local I/O. Defaults to 2.
> [!IMPORTANT]
> For users switching from Bandersnatch to Shadowmire, you **MUST** run the following commands (with exclusion, of course) before regular syncing: