mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-12 13:13:45 +01:00
Merge pull request #21883 from overleaf/ar-disable-keep-alive-remaining-services
Disable keepAlive in all services GitOrigin-RevId: 9a3bac37e3fb09ee64b05cfda300dfe8d8672aad
This commit is contained in:
@@ -1,3 +1,9 @@
|
|||||||
|
const http = require('node:http')
|
||||||
|
const https = require('node:https')
|
||||||
|
|
||||||
|
http.globalAgent.keepAlive = false
|
||||||
|
https.globalAgent.keepAlive = false
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
internal: {
|
internal: {
|
||||||
chat: {
|
chat: {
|
||||||
|
|||||||
@@ -1,6 +1,10 @@
|
|||||||
const Path = require('node:path')
|
const Path = require('node:path')
|
||||||
const os = require('node:os')
|
const os = require('node:os')
|
||||||
|
const http = require('node:http')
|
||||||
|
const https = require('node:https')
|
||||||
|
|
||||||
|
http.globalAgent.keepAlive = false
|
||||||
|
https.globalAgent.keepAlive = false
|
||||||
const isPreEmptible = os.hostname().includes('pre-emp')
|
const isPreEmptible = os.hostname().includes('pre-emp')
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
|
|||||||
@@ -1,6 +1,9 @@
|
|||||||
const http = require('node:http')
|
const http = require('node:http')
|
||||||
|
const https = require('node:https')
|
||||||
|
|
||||||
http.globalAgent.maxSockets = 300
|
http.globalAgent.maxSockets = 300
|
||||||
http.globalAgent.keepAlive = false
|
http.globalAgent.keepAlive = false
|
||||||
|
https.globalAgent.keepAlive = false
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
internal: {
|
internal: {
|
||||||
|
|||||||
@@ -1,6 +1,9 @@
|
|||||||
const http = require('node:http')
|
const http = require('node:http')
|
||||||
|
const https = require('node:https')
|
||||||
|
|
||||||
http.globalAgent.maxSockets = 300
|
http.globalAgent.maxSockets = 300
|
||||||
http.globalAgent.keepAlive = false
|
http.globalAgent.keepAlive = false
|
||||||
|
https.globalAgent.keepAlive = false
|
||||||
|
|
||||||
const Settings = {
|
const Settings = {
|
||||||
internal: {
|
internal: {
|
||||||
|
|||||||
@@ -1,3 +1,9 @@
|
|||||||
|
const http = require('node:http')
|
||||||
|
const https = require('node:https')
|
||||||
|
|
||||||
|
http.globalAgent.keepAlive = false
|
||||||
|
https.globalAgent.keepAlive = false
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
internal: {
|
internal: {
|
||||||
documentupdater: {
|
documentupdater: {
|
||||||
|
|||||||
@@ -1,3 +1,9 @@
|
|||||||
|
const http = require('node:http')
|
||||||
|
const https = require('node:https')
|
||||||
|
|
||||||
|
http.globalAgent.keepAlive = false
|
||||||
|
https.globalAgent.keepAlive = false
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
mongo: {
|
mongo: {
|
||||||
url:
|
url:
|
||||||
|
|||||||
@@ -1,4 +1,9 @@
|
|||||||
/* eslint-disable camelcase */
|
/* eslint-disable camelcase */
|
||||||
|
const http = require('node:http')
|
||||||
|
const https = require('node:https')
|
||||||
|
|
||||||
|
http.globalAgent.keepAlive = false
|
||||||
|
https.globalAgent.keepAlive = false
|
||||||
|
|
||||||
const settings = {
|
const settings = {
|
||||||
redis: {
|
redis: {
|
||||||
|
|||||||
Reference in New Issue
Block a user