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-28 03:04:21 +00:00
committed by Copybot
parent 865ac4a786
commit 2e7e64578f
3 changed files with 1 additions and 10 deletions
@@ -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