1
0
mirror of https://github.com/termux/termux-packages synced 2024-06-18 18:07:07 +00:00
termux-packages/packages/nodejs/test-parallel-test-gc-http-client-connaborted.js.patch
Yaksh Bariya a765ae2ba1
upgpkg(main/nodejs): update to v18.3.0
Also patches for tests have been commited which I had since a while but
never made them public.
2022-06-05 10:54:02 +05:30

12 lines
381 B
Diff

--- ./test/parallel/test-gc-http-client-connaborted.js.orig 2022-06-05 08:39:51.327601049 +0530
+++ ./test/parallel/test-gc-http-client-connaborted.js 2022-06-05 08:40:14.897601040 +0530
@@ -8,7 +8,7 @@
const http = require('http');
const os = require('os');
-const cpus = os.cpus().length;
+const cpus = os.numcpus();
let createClients = true;
let done = 0;
let count = 0;