mirror of
https://github.com/overleaf/overleaf.git
synced 2025-04-04 14:26:38 +00:00
add timeout for health check
This commit is contained in:
parent
1d98d45320
commit
bf3e568db9
1 changed files with 1 additions and 0 deletions
|
@ -10,6 +10,7 @@ module.exports =
|
|||
json:
|
||||
words:["helllo"]
|
||||
language: "en"
|
||||
timeout: 1000 * 20
|
||||
request.post opts, (err, response, body)->
|
||||
console.log body?.misspellings[0]?.suggestions.length
|
||||
numberOfSuggestions = body?.misspellings[0]?.suggestions?.length
|
||||
|
|
Loading…
Reference in a new issue