diff options
author | TheArcaneBrony <myrainbowdash949@gmail.com> | 2022-08-19 18:53:25 +0200 |
---|---|---|
committer | TheArcaneBrony <myrainbowdash949@gmail.com> | 2022-08-19 19:07:10 +0200 |
commit | 9071cbdc25e97153086ac48bd389b04c43e56458 (patch) | |
tree | 8b6685ad362f9906fbc7fafcea5d2157c4d8d998 /scripts/benchmark | |
parent | Merge remote-tracking branch 'Puyodead1/patch/prettier-config' into staging (diff) | |
download | server-9071cbdc25e97153086ac48bd389b04c43e56458.tar.xz |
Updates scripts and tests from dev/plugins
Diffstat (limited to 'scripts/benchmark')
-rw-r--r-- | scripts/benchmark/connections.js | 6 | ||||
-rw-r--r-- | scripts/benchmark/users.js | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/scripts/benchmark/connections.js b/scripts/benchmark/connections.js index 661548c3..f74d0c6d 100644 --- a/scripts/benchmark/connections.js +++ b/scripts/benchmark/connections.js @@ -8,7 +8,7 @@ let cores = 1; try { cores = Number(process.env.THREADS) || os.cpus().length; } catch { - console.log("[Bundle] Failed to get thread count! Using 1...") + console.log("[Bundle] Failed to get thread count! Using 1..."); } if (!token) { @@ -46,8 +46,8 @@ function connect() { op: 2, d: { token, - properties: {}, - }, + properties: {} + } }) ); diff --git a/scripts/benchmark/users.js b/scripts/benchmark/users.js index bce67bf4..415d6d8b 100644 --- a/scripts/benchmark/users.js +++ b/scripts/benchmark/users.js @@ -14,9 +14,9 @@ async function main() { consent: true, date_of_birth: "2000-01-01", gift_code_sku_id: null, - captcha_key: null, + captcha_key: null }), - headers: { "content-type": "application/json" }, + headers: { "content-type": "application/json" } }); console.log(i); } |