[clsi] enable keepAlive on global HTTP agents (#25350)

GitOrigin-RevId: c9478b405ac32ca55aeb3bcf9f24052477464667
This commit is contained in:
Jakob Ackermann
2025-05-07 09:52:35 +02:00
committed by Copybot
parent f8f1a68738
commit e673b1f3e6

View File

@@ -1,10 +1,6 @@
const Path = require('node:path')
const http = require('node:http')
const https = require('node:https')
const os = require('node:os')
http.globalAgent.keepAlive = false
https.globalAgent.keepAlive = false
const isPreEmptible = process.env.PREEMPTIBLE === 'TRUE'
const CLSI_SERVER_ID = os.hostname().replace('-ctr', '')