We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1fee7fb commit 7f9ba1dCopy full SHA for 7f9ba1d
packages/build/src/homebrew/generate-formula.ts
@@ -1,6 +1,12 @@
1
import * as semver from 'semver';
2
import type { GithubRepo } from '@mongodb-js/devtools-github-repo';
3
4
+/**
5
+ * When sending requests via Octokit, a situation can arise where the server closes the connection,
6
+ * but the client still believes it’s open and attempts to write to it,
7
+ * what leads to receiving an EPIPE error from the OS, indicating the connection has already been closed.
8
+ * In such cases, retrying the request can help establish a new, functional connection.
9
+ */
10
async function getFileWithRetry(
11
homebrewCore: GithubRepo,
12
remainingRetries = 3
0 commit comments