mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-02 13:49:00 +02:00
add timeout for health check
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user