Skip to content

Commit

Permalink
noswhere: bump timeout
Browse files Browse the repository at this point in the history
tests were failing for me otherwise.

Signed-off-by: William Casarin <[email protected]>
  • Loading branch information
jb55 committed Apr 25, 2024
1 parent 6845e0a commit c2751d1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/translate/noswhere.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ module.exports = class NoswhereTranslator {
async #loadTranslationLangs() {
let resp = await fetch(this.#noswhereURL + "/langs", {
method: 'GET',
timeout: 5000,
headers: {
'X-Noswhere-Key': this.#noswhereKey,
'Content-Type': 'application/json'
Expand Down Expand Up @@ -58,4 +59,4 @@ module.exports = class NoswhereTranslator {

throw new Error("error translating: no response")
}
}
}

0 comments on commit c2751d1

Please sign in to comment.