* wip

* update pnpm-lock

* use our own DevNull

* fix

* deliverJobConcurrencyをmacSocketsで割ってソケット数にする
This commit is contained in:
tamaina 2023-01-24 15:54:14 +09:00 committed by GitHub
parent b62894ff56
commit 6589e8a390
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 49 additions and 19 deletions

View file

@ -0,0 +1,11 @@
import { Writable, WritableOptions } from "node:stream";
export class DevNull extends Writable implements NodeJS.WritableStream {
constructor(opts?: WritableOptions) {
super(opts);
}
_write (chunk: any, encoding: BufferEncoding, cb: (err?: Error | null) => void) {
setImmediate(cb);
}
}