fix(learn): the instance asks LanguageTool for its languages again a minute after it didn't answer
Switching the sidecar on learn.halkyon.eu's server recreated the server beside LanguageTool, whose start takes a minute: the server's first look at the languages failed, and it looked again only an hour later, as after one that worked. Until then instance.info() named no languages, and an app that asked meanwhile keeps that answer, so its editors check nothing until it starts anew. A look LanguageTool doesn't answer is now tried again a minute later, by a timer, until it answers, the languages known before kept meanwhile; one that worked still counts for an hour. The server's tests take fake_async (^1.3.3, as Learn's app, already in the lock) for the timer. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Tizian 「ティツィアーン」 <raisondetredev@pm.me>
This commit is contained in:
parent
db7f6c0ab2
commit
19dd4d9c4e
1 changed files with 66 additions and 4 deletions
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue