Skip to content

Commit c2a129a

Browse files
Update generated files
1 parent df357e7 commit c2a129a

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

packages/schemas/src/v3/index.schema.ts

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@ const schema = {
2525
},
2626
"resyncConnectionPollingIntervalMs": {
2727
"type": "number",
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.",
28+
"description": "The polling rate (in milliseconds) at which the db should be checked for connections that need to be re-synced. Defaults to 1 second.",
2929
"minimum": 1
3030
},
3131
"reindexRepoPollingIntervalMs": {
3232
"type": "number",
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.",
33+
"description": "The polling rate (in milliseconds) at which the db should be checked for repos that should be re-indexed. Defaults to 1 second.",
3434
"minimum": 1
3535
},
3636
"maxConnectionSyncJobConcurrency": {
@@ -50,11 +50,13 @@ const schema = {
5050
},
5151
"repoGarbageCollectionGracePeriodMs": {
5252
"type": "number",
53-
"description": "The grace period (in milliseconds) for garbage collection. Used to prevent deleting shards while they're being loaded."
53+
"description": "The grace period (in milliseconds) for garbage collection. Used to prevent deleting shards while they're being loaded. Defaults to 10 seconds.",
54+
"minimum": 1
5455
},
5556
"repoIndexTimeoutMs": {
5657
"type": "number",
57-
"description": "The timeout (in milliseconds) for a repo indexing to timeout."
58+
"description": "The timeout (in milliseconds) for a repo indexing to timeout. Defaults to 2 hours.",
59+
"minimum": 1
5860
}
5961
},
6062
"additionalProperties": false

packages/schemas/src/v3/index.type.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,11 @@ export interface Settings {
4040
*/
4141
reindexIntervalMs?: number;
4242
/**
43-
* The polling rate (in milliseconds) at which the db should be checked for connections that need to be re-synced. Defaults to 5 seconds.
43+
* The polling rate (in milliseconds) at which the db should be checked for connections that need to be re-synced. Defaults to 1 second.
4444
*/
4545
resyncConnectionPollingIntervalMs?: number;
4646
/**
47-
* The polling rate (in milliseconds) at which the db should be checked for repos that should be re-indexed. Defaults to 5 seconds.
47+
* The polling rate (in milliseconds) at which the db should be checked for repos that should be re-indexed. Defaults to 1 second.
4848
*/
4949
reindexRepoPollingIntervalMs?: number;
5050
/**
@@ -60,11 +60,11 @@ export interface Settings {
6060
*/
6161
maxRepoGarbageCollectionJobConcurrency?: number;
6262
/**
63-
* The grace period (in milliseconds) for garbage collection. Used to prevent deleting shards while they're being loaded.
63+
* The grace period (in milliseconds) for garbage collection. Used to prevent deleting shards while they're being loaded. Defaults to 10 seconds.
6464
*/
6565
repoGarbageCollectionGracePeriodMs?: number;
6666
/**
67-
* The timeout (in milliseconds) for a repo indexing to timeout.
67+
* The timeout (in milliseconds) for a repo indexing to timeout. Defaults to 2 hours.
6868
*/
6969
repoIndexTimeoutMs?: number;
7070
}

0 commit comments

Comments
 (0)