Revert change of Stream class
This commit is contained in:
parent
93ad5a08a3
commit
5a69be22ba
@ -170,7 +170,6 @@ export class Stream {
|
|||||||
this.bytes_count += chunk.length
|
this.bytes_count += chunk.length
|
||||||
if(absolute_bytes > (this.per_sec_bytes * 300) && this.per_sec_bytes !== 0){
|
if(absolute_bytes > (this.per_sec_bytes * 300) && this.per_sec_bytes !== 0){
|
||||||
stream.destroy()
|
stream.destroy()
|
||||||
stream.unpipe(this.stream)
|
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user