From 0fe2e7932a8c2cced07f6ab3741e32684ea9667a Mon Sep 17 00:00:00 2001 From: Michael Stanclift Date: Thu, 31 Aug 2023 11:17:16 -0500 Subject: [PATCH] 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 --- content/en/admin/tootctl.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/en/admin/tootctl.md b/content/en/admin/tootctl.md index c3a1a818..cddc70a8 100644 --- a/content/en/admin/tootctl.md +++ b/content/en/admin/tootctl.md @@ -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.