all: sync with master

This commit is contained in:
Ainar Garipov
2022-09-07 18:03:18 +03:00
parent d23da1b757
commit faf2b32389
108 changed files with 2925 additions and 2390 deletions

View File

@@ -1,3 +1,6 @@
// TODO(a.garipov): Rewrite this in Go; add better concurrency controls; add
// features for easier maintenance.
const fs = require('fs');
const path = require('path');
const requestPromise = require('request-promise');
@@ -107,7 +110,7 @@ const download = async () => {
// Don't request the Crowdin API too aggressively to prevent spurious
// 400 errors.
await sleep(200);
await sleep(400);
}
Promise