Skip to content

Commit

Permalink
Disabling connectors keepAlive for a few hours. (#6604)
Browse files Browse the repository at this point in the history
  • Loading branch information
lasryaric authored Jul 31, 2024
1 parent 3f8d1ab commit 0f7b1d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions connectors/src/lib/data_sources.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ const axiosWithTimeout = axios.create({
timeout: 60000,
// Ensure client timeout is lower than the target server timeout.
// See --keepAliveTimeout in next start command from front.
httpAgent: new http.Agent({ keepAlive: true, keepAliveMsecs: 4000 }),
httpsAgent: new https.Agent({ keepAlive: true, keepAliveMsecs: 4000 }),
httpAgent: new http.Agent({ keepAlive: false }),
httpsAgent: new https.Agent({ keepAlive: false }),
});

const { DUST_FRONT_API } = process.env;
Expand Down

0 comments on commit 0f7b1d7

Please sign in to comment.