You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/schemas/src/v3/index.schema.ts
+20-12Lines changed: 20 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -10,37 +10,45 @@ const schema = {
10
10
"properties": {
11
11
"maxFileSize": {
12
12
"type": "number",
13
-
"description": "The maximum size of a file (in bytes) to be indexed. Files that exceed this maximum will not be indexed."
13
+
"description": "The maximum size of a file (in bytes) to be indexed. Files that exceed this maximum will not be indexed. Defaults to 2MB.",
14
+
"minimum": 1
14
15
},
15
16
"maxTrigramCount": {
16
17
"type": "number",
17
-
"description": "The maximum number of trigrams per document. Files that exceed this maximum will not be indexed."
18
+
"description": "The maximum number of trigrams per document. Files that exceed this maximum will not be indexed. Default to 20000.",
19
+
"minimum": 1
18
20
},
19
21
"reindexIntervalMs": {
20
22
"type": "number",
21
-
"description": "The interval (in milliseconds) at which the indexer should re-index all repositories."
23
+
"description": "The interval (in milliseconds) at which the indexer should re-index all repositories. Defaults to 1 hour.",
24
+
"minimum": 1
22
25
},
23
26
"resyncConnectionPollingIntervalMs": {
24
27
"type": "number",
25
-
"description": "The polling rate (in milliseconds) at which the db should be checked for connections that need to be re-synced."
28
+
"description": "The polling rate (in milliseconds) at which the db should be checked for connections that need to be re-synced. Defaults to 5 seconds.",
29
+
"minimum": 1
26
30
},
27
31
"reindexRepoPollingIntervalMs": {
28
32
"type": "number",
29
-
"description": "The polling rate (in milliseconds) at which the db should be checked for repos that should be re-indexed."
33
+
"description": "The polling rate (in milliseconds) at which the db should be checked for repos that should be re-indexed. Defaults to 5 seconds.",
34
+
"minimum": 1
30
35
},
31
-
"indexConcurrencyMultiple": {
36
+
"maxConnectionSyncJobConcurrency": {
32
37
"type": "number",
33
-
"description": "The multiple of the number of CPUs to use for indexing."
38
+
"description": "The number of connection sync jobs to run concurrently. Defaults to 8.",
39
+
"minimum": 1
34
40
},
35
-
"configSyncConcurrencyMultiple": {
41
+
"maxRepoIndexingJobConcurrency": {
36
42
"type": "number",
37
-
"description": "The multiple of the number of CPUs to use for syncing the configuration."
43
+
"description": "The number of repo indexing jobs to run concurrently. Defaults to 8.",
44
+
"minimum": 1
38
45
},
39
-
"gcConcurrencyMultiple": {
46
+
"maxRepoGarbageCollectionJobConcurrency": {
40
47
"type": "number",
41
-
"description": "The multiple of the number of CPUs to use for garbage collection."
48
+
"description": "The number of repo GC jobs to run concurrently. Defaults to 8.",
49
+
"minimum": 1
42
50
},
43
-
"gcGracePeriodMs": {
51
+
"repoGarbageCollectionGracePeriodMs": {
44
52
"type": "number",
45
53
"description": "The grace period (in milliseconds) for garbage collection. Used to prevent deleting shards while they're being loaded."
0 commit comments