Merge pull request #6917 from overleaf/ho-v1-timeout

v1 timeout of 2 seconds

GitOrigin-RevId: 810a5b0c104fb3eb2b8878ab184d7a4010828f8c
This commit is contained in:
Henry Oswald
2022-02-25 09:04:06 +00:00
committed by Copybot
parent 1c62f82f9c
commit 85bf61e5fe
+1 -1
View File
@@ -23,7 +23,7 @@ const DEFAULT_V1_PARAMS = {
pass: settings.apis.v1.pass,
},
json: true,
timeout: 30 * 1000,
timeout: 2 * 1000,
}
const v1Request = request.defaults(DEFAULT_V1_PARAMS)