Skip to content

Commit 2aa0f67

Browse files
No to multiple brokers for now 😢 (#1995)
--------- Co-authored-by: Finn Ellis <[email protected]> Co-authored-by: Katie Horne <[email protected]>
1 parent c41306f commit 2aa0f67

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

docs/semgrep-ci/network-broker.md

+3-5
Original file line numberDiff line numberDiff line change
@@ -329,11 +329,11 @@ In broker `v0.31.0` and later, this URL is part of the default allowlist.
329329

330330
## Run multiple instances of the Semgrep Network Broker
331331

332-
You can run multiple instances of the Semgrep Network Broker to manage availability. Semgrep handles multiple requests accordingly, preventing issues like duplicate PR or MR comments.
332+
Do not attempt to run multiple instances of the Semgrep Network Broker to increase availability. Running multiple instances can result in contention and is less reliable than running a single instance.
333333

334-
Each Semgrep deployment requires and accepts exactly one configuration file. If you run multiple instances of the Semgrep Network Broker, each instance associated with the same deployment must use the same configuration file.
334+
## Allowlist multiple source code managers with one configuration file
335335

336-
You can allowlist multiple source code managers (SCM) within a single configuration file. One entry for a given SCM [uses the SCM-specific key provided in the configuration file](/semgrep-ci/network-broker#update-the-config-with-your-scm-information), as shown in the following example for a GitHub connection:
336+
It is possible to allow access to multiple source code managers (SCM) within a single configuration file. One entry for a given SCM [uses the SCM-specific key provided in the configuration file](/semgrep-ci/network-broker#update-the-config-with-your-scm-information), as shown in the following example for a GitHub connection:
337337

338338
<pre class="language-console"><code>
339339
github:
@@ -363,5 +363,3 @@ allowlist:
363363
&nbsp;&nbsp;&nbsp; Authorization: "Bearer <span className="placeholder">GITHUB_PAT</span>"
364364
&nbsp;...
365365
</code></pre>
366-
367-
You may see some noise in your logs when using multiple Network Broker instances, since the Broker hasn't been architected yet for this specific configuration.

0 commit comments

Comments
 (0)