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 1645dc7 commit 81d2e67Copy full SHA for 81d2e67
packages/events/src/service/events/reindex.ts
@@ -100,6 +100,8 @@ export async function reindex(token: TokenWithBearer) {
100
// Converts object stream to JSON string stream so that it can
101
// be sent to the country config reindex endpoint
102
body: new JsonStreamStringify(eventDocumentStreamForCountryConfig),
103
+ // Ensure HTTP socket of previous GET /events request is not reused
104
+ // to avoid connections being closed preemptively by Node.js
105
agent: new Agent({ keepAlive: false })
106
}
107
).then((response) => {
0 commit comments