mirror of
https://github.com/termux/termux-packages
synced 2024-06-26 13:07:07 +00:00
a765ae2ba1
Also patches for tests have been commited which I had since a while but never made them public.
12 lines
417 B
Diff
12 lines
417 B
Diff
--- ./test/sequential/test-gc-http-client-onerror.js.orig 2022-06-05 10:18:02.427598802 +0530
|
|
+++ ./test/sequential/test-gc-http-client-onerror.js 2022-06-05 10:18:17.627598796 +0530
|
|
@@ -6,7 +6,7 @@
|
|
const common = require('../common');
|
|
const onGC = require('../common/ongc');
|
|
|
|
-const cpus = require('os').cpus().length;
|
|
+const cpus = require('os').numcpus();
|
|
|
|
function serverHandler(req, res) {
|
|
req.resume();
|