Merge pull request #3299 from overleaf/jpa-cleanup-tpr-import

[tpr] cleanup dead code and add request timeout

GitOrigin-RevId: 363b12efd4e9d9391bfb486e7b7f301c1ff2ce33
This commit is contained in:
Miguel Serrano 2020-10-27 11:43:33 +01:00 committed by Copybot
parent 865ac4a786
commit 2e7e64578f
3 changed files with 1 additions and 10 deletions

View file

@ -179,6 +179,7 @@ module.exports = settings =
url: process.env['LINKED_URL_PROXY']
thirdpartyreferences:
url: "http://#{process.env['THIRD_PARTY_REFERENCES_HOST'] or 'localhost'}:3046"
timeout: parseInt(process.env['THIRD_PARTY_REFERENCES_TIMEOUT'] || '30000', 10)
v1:
url: v1Api.url
user: v1Api.user

View file

@ -34563,15 +34563,6 @@
}
}
},
"temp": {
"version": "0.8.3",
"resolved": "https://registry.npmjs.org/temp/-/temp-0.8.3.tgz",
"integrity": "sha512-jtnWJs6B1cZlHs9wPG7BrowKxZw/rf6+UpGAkr8AaYmiTyTO7zQlLoST8zx/8TcUPnZmeBoB+H8ARuHZaSijVw==",
"requires": {
"os-tmpdir": "^1.0.0",
"rimraf": "~2.2.6"
}
},
"term-size": {
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/term-size/-/term-size-1.2.0.tgz",

View file

@ -138,7 +138,6 @@
"sanitizer": "0.1.1",
"scroll-into-view-if-needed": "^2.2.25",
"settings-sharelatex": "^1.1.0",
"temp": "^0.8.3",
"underscore": "1.6.0",
"url-parse": "^1.4.7",
"utf-8-validate": "^5.0.2",