|
@@ -1,9 +1,6 @@
|
|
|
const http = require('node:http')
|
|
const http = require('node:http')
|
|
|
const https = require('node:https')
|
|
const https = require('node:https')
|
|
|
-const stream = require('node:stream')
|
|
|
|
|
|
|
|
|
|
-// TODO(24011): remove this after node 22 update
|
|
|
|
|
-stream.setDefaultHighWaterMark(false, 64 * 1024)
|
|
|
|
|
http.globalAgent.maxSockets = 300
|
|
http.globalAgent.maxSockets = 300
|
|
|
http.globalAgent.keepAlive = false
|
|
http.globalAgent.keepAlive = false
|
|
|
https.globalAgent.keepAlive = false
|
|
https.globalAgent.keepAlive = false
|