Change tootctl search deploy default batch size to 100 to match reality (#1289)

* Change default to 100 to refect code.

* memory pressure increase

* remove comment about local system resources
This commit is contained in:
Michael Stanclift 2023-08-31 11:17:16 -05:00 committed by GitHub
parent eafb7de213
commit 0fe2e7932a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -807,7 +807,7 @@ Remove local thumbnails for preview cards.
Create or update an Elasticsearch index and populate it. If Elasticsearch is empty, this command will create the necessary indices and then import data from the database into those indices. This command will also upgrade indices if the underlying schema has been changed since the last run.
`--batch-size`
: Defaults to 1000. A lower batch size can make ElasticSearch process records more quickly.
: Defaults to 100. A higher batch size can make Elasticsearch process records more quickly, with less load on the PostgreSQL database, but can increase memory pressure on the Elasticsearch nodes during indexing.
`--only INDEX`
: Specify an index name [`accounts`, `tags`, `statuses`] to create or update only that index.