Skip to content

Commit

Permalink
Merge pull request #302 from FlowFuse/pn114-enable-team-broker-projec…
Browse files Browse the repository at this point in the history
…t-nodes

Pass through team-broker flag to instance settings
  • Loading branch information
Steve-Mcl authored Nov 20, 2024
2 parents 056b0ad + f106c71 commit fc0f674
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/runtimeSettings.js
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,9 @@ function getSettingsFile (settings) {
token: settings.projectToken,
broker: { ...settings.broker }
}
if (settings.features?.teamBroker) {
projectSettings.projectLink.teamBrokerEnabled = true
}
if (settings.settings.ha?.replicas >= 2) {
projectSettings.projectLink.useSharedSubscriptions = true
}
Expand Down

0 comments on commit fc0f674

Please sign in to comment.