fix(core): update
This commit is contained in:
parent
e2b4d772b3
commit
a09c359847
@ -3,6 +3,6 @@
|
||||
*/
|
||||
export const commitinfo = {
|
||||
name: '@push.rocks/smartstream',
|
||||
version: '3.0.28',
|
||||
version: '3.0.29',
|
||||
description: 'simplifies access to node streams'
|
||||
}
|
||||
|
@ -46,10 +46,10 @@ export class SmartDuplex<TInput = any, TOutput = any> extends Duplex {
|
||||
|
||||
constructor(optionsArg?: ISmartDuplexOptions<TInput, TOutput>) {
|
||||
super(Object.assign({
|
||||
highWaterMark: 1,
|
||||
highWaterMark: 4,
|
||||
}, optionsArg));
|
||||
this.options = optionsArg;
|
||||
this.backpressuredArray = new plugins.lik.BackpressuredArray<TOutput>(this.options.highWaterMark || 1)
|
||||
this.backpressuredArray = new plugins.lik.BackpressuredArray<TOutput>(this.options.highWaterMark || 4)
|
||||
}
|
||||
|
||||
public async _read(size: number): Promise<void> {
|
||||
|
Loading…
Reference in New Issue
Block a user