Merge pull request #6918 from overleaf/em-v1-timeouts

Reducing timeout for v1 calls for endpoints

GitOrigin-RevId: 0f28569a1401e2fad7434df2a68a230ceb0f4aca
This commit is contained in:
Eric Mc Sween
2022-03-08 09:03:42 +00:00
committed by Copybot
parent 5355c7382c
commit 11a81007f5
9 changed files with 38 additions and 24 deletions
@@ -507,6 +507,7 @@ describe('ExportsHandler', function () {
url: 'http://localhost:5000',
user: 'overleaf',
pass: 'pass',
timeout: 15000,
},
}
this.export_data = { iAmAnExport: true }
@@ -537,6 +538,7 @@ describe('ExportsHandler', function () {
pass: this.settings.apis.v1.pass,
},
json: this.export_data,
timeout: 15000,
})
})
@@ -598,6 +600,7 @@ describe('ExportsHandler', function () {
url: 'http://localhost:5000',
user: 'overleaf',
pass: 'pass',
timeout: 15000,
},
}
this.export_id = 897
@@ -630,6 +633,7 @@ describe('ExportsHandler', function () {
user: this.settings.apis.v1.user,
pass: this.settings.apis.v1.pass,
},
timeout: 15000,
})
})
@@ -648,6 +652,7 @@ describe('ExportsHandler', function () {
url: 'http://localhost:5000',
user: 'overleaf',
pass: 'pass',
timeout: 15000,
},
}
this.export_id = 897
@@ -683,6 +688,7 @@ describe('ExportsHandler', function () {
user: this.settings.apis.v1.user,
pass: this.settings.apis.v1.pass,
},
timeout: 15000,
})
})