Skip to content

Commit 23229a0

Browse files
authored
search-jobs: update defaults (#895)
The defaults were changed in sourcegraph/zoekt#850. Test plan: N/A
1 parent b2f2f2e commit 23229a0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/admin/search.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,8 +153,8 @@ Shard merging can be fine-tuned by setting ENV variables for Zoekt indexserver:
153153
| ---------------------- | ---------------------------------------------------------------------------------------------- | -------- |
154154
| SRC_VACUUM_INTERVAL | Run vacuum this often, specified as a duration | 24 hours |
155155
| SRC_MERGE_INTERVAL | Run merge this often, specified as a duration | 8 hours |
156-
| SRC_MERGE_TARGET_SIZE | The target size of compound shards in MiB | 2000 |
157-
| SRC_MERGE_MIN_SIZE | The minimum size of a compound shard in MiB | 1800 |
156+
| SRC_MERGE_TARGET_SIZE | The target size of compound shards in MiB | 1000 |
157+
| SRC_MERGE_MIN_SIZE | The minimum size of a compound shard in MiB | 800 |
158158
| SRC_MERGE_MIN_AGE | The time since the last commit in days. Shards with newer commits are excluded from merging. | 7 |
159159
160160
When repostiories receive udpates, Zoekt reindexes them and tombstones their old index data. As a result, compound shards can shrink and be dismantled into individual shards once they reach a critical minimum size. These individual

0 commit comments

Comments
 (0)