diff options
| author | Baptiste Mispelon <bmispelon@gmail.com> | 2025-03-11 20:23:33 +0100 |
|---|---|---|
| committer | Baptiste Mispelon <bmispelon@gmail.com> | 2025-03-11 21:01:01 +0100 |
| commit | 3fdfd5778cd49d96d6406a357a5e8d063a0054b3 (patch) | |
| tree | 38d6280babd49588e484520fd0febd49030da3d9 /docs | |
| parent | 83e927013c5ef31a9baa0645cdefa90b3e1a3767 (diff) | |
Decreased verbosity required to get indexing duration
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/management/commands/update_index.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/management/commands/update_index.py b/docs/management/commands/update_index.py index 937ed4fa..86d80803 100644 --- a/docs/management/commands/update_index.py +++ b/docs/management/commands/update_index.py @@ -20,7 +20,7 @@ class Command(BaseCommand): Document.objects.search_reset() updated_documents = Document.objects.search_update() elapsed = time.time() - _started_at - if options["verbosity"] >= 2: + if options["verbosity"] >= 1: self.stdout.write( self.style.SUCCESS( f"Indexed {updated_documents} documents in {elapsed:.03}s." |
