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: CHANGELOG.md
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -11,6 +11,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
11
11
- Change connection manager upsert timeout to 5 minutes
12
12
- Fix issue with repo display names being poorly formatted, especially for gerrit. ([#259](https://github.com/sourcebot-dev/sourcebot/pull/259))
13
13
14
+
### Added
15
+
- Added config setting `resyncConnectionIntervalMs` to control how often a connection should be re-synced. ([#260](https://github.com/sourcebot-dev/sourcebot/pull/260))
Copy file name to clipboardExpand all lines: docs/self-hosting/more/declarative-config.mdx
+5Lines changed: 5 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -55,6 +55,11 @@ Some teams require Sourcebot to be configured via a file (where it can be stored
55
55
"description": "The interval (in milliseconds) at which the indexer should re-index all repositories. Defaults to 1 hour.",
56
56
"minimum": 1
57
57
},
58
+
"resyncConnectionIntervalMs": {
59
+
"type": "number",
60
+
"description": "The interval (in milliseconds) at which the connection manager should check for connections that need to be re-synced. Defaults to 24 hours.",
61
+
"minimum": 1
62
+
},
58
63
"resyncConnectionPollingIntervalMs": {
59
64
"type": "number",
60
65
"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.",
Copy file name to clipboardExpand all lines: packages/schemas/src/v3/index.schema.ts
+5Lines changed: 5 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -23,6 +23,11 @@ const schema = {
23
23
"description": "The interval (in milliseconds) at which the indexer should re-index all repositories. Defaults to 1 hour.",
24
24
"minimum": 1
25
25
},
26
+
"resyncConnectionIntervalMs": {
27
+
"type": "number",
28
+
"description": "The interval (in milliseconds) at which the connection manager should check for connections that need to be re-synced. Defaults to 24 hours.",
29
+
"minimum": 1
30
+
},
26
31
"resyncConnectionPollingIntervalMs": {
27
32
"type": "number",
28
33
"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.",
Copy file name to clipboardExpand all lines: schemas/v3/index.json
+5Lines changed: 5 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -23,6 +23,11 @@
23
23
"description": "The interval (in milliseconds) at which the indexer should re-index all repositories. Defaults to 1 hour.",
24
24
"minimum": 1
25
25
},
26
+
"resyncConnectionIntervalMs": {
27
+
"type": "number",
28
+
"description": "The interval (in milliseconds) at which the connection manager should check for connections that need to be re-synced. Defaults to 24 hours.",
29
+
"minimum": 1
30
+
},
26
31
"resyncConnectionPollingIntervalMs": {
27
32
"type": "number",
28
33
"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.",
0 commit comments