Pull request: upd-before-release

Merge in DNS/adguard-home from upd-before-release to master

Squashed commit of the following:

commit 71f36273a55f63d389188fd7df2950a6207549a9
Author: Ainar Garipov <A.Garipov@AdGuard.COM>
Date:   Tue Nov 8 14:35:18 2022 +0300

    all: upd deps, tools, filters
This commit is contained in:
Ainar Garipov
2022-11-08 16:24:44 +03:00
parent 8fdbcc005c
commit 2bfdcbbc10
8 changed files with 87 additions and 32 deletions

View File

@@ -188,6 +188,10 @@ After the download you'll find the output locales in the `client/src/__locales/`
directory.
Optional environment:
* `SLEEP_TIME`: set the sleep time between downloads for `locales:download`,
in milliseconds. The default is 250 ms.
* `UPLOAD_LANGUAGE`: set an alternative language for `locales:upload` to
upload.

View File

@@ -110,7 +110,8 @@ const download = async () => {
// Don't request the Crowdin API too aggressively to prevent spurious
// 400 errors.
await sleep(400);
const sleepTime = process.env.SLEEP_TIME || 250;
await sleep(sleepTime);
}
Promise