1
1
mirror of https://github.com/Eugeny/tabby.git synced 2024-11-23 05:03:36 +03:00

perf: tweak pty flow control

This commit is contained in:
Eugene Pankov 2021-08-19 23:14:38 +02:00
parent e33e954e41
commit 60046da4b3
No known key found for this signature in database
GPG Key ID: 5896FCBBDD1CF4F4

View File

@ -7,8 +7,8 @@ import { Application } from './app'
class PTYDataQueue {
private buffers: Buffer[] = []
private delta = 0
private maxChunk = 1024
private maxDelta = 1024 * 50
private maxChunk = 1024 * 100
private maxDelta = this.maxChunk * 5
private flowPaused = false
private decoder = new StringDecoder()