Back to LanguageTool Homepage - Privacy - Imprint

Incomplete results instead of timeout error

(Daniel Naber) #1

I’ve modified the server and Javascript on to show partial results in case of a timeout, instead of just showing an error message. It looks like this:

This will hopefully be a slightly better user experience for those users running into a timeout (either because the server is overloaded and/or because they check long texts).

Anybody using the API will not see this behavior unless they send a allowIncompleteResults=true parameter. The JSON will then contain information whether the result is incomplete, in which case it’s the client’s responsibility to show a warning.