mirror of
https://github.com/binaricat/Netcatty.git
synced 2026-11-23 00:20:45 +00:00
Cap plain xterm writes (including short-line dumps like seq) to ~128KB and yield after each intermediate slice so the UI can paint and accept input. Under large-output pressure use the flood coalesce cap and rAF scheduling instead of microtask packing. Leave SSH flow high-water at 1MB for #1961.
15 lines
553 B
JSON
15 lines
553 B
JSON
{
|
|
"FLOW_HIGH_WATER_MARK": 1048576,
|
|
"FLOW_LOW_WATER_MARK": 8192,
|
|
"FLOW_CHAR_COUNT_ACK_SIZE": 4096,
|
|
"MAX_PENDING_WRITE_COALESCE_BYTES": 1048576,
|
|
"MAX_PENDING_WRITE_COALESCE_BYTES_FLOOD": 131072,
|
|
"MAX_TERMINAL_PLAIN_WRITE_CHUNK_BYTES": 131072,
|
|
"MAX_TERMINAL_UNBROKEN_WRITE_CHUNK_BYTES": 131072,
|
|
"MAX_TERMINAL_WRITE_QUEUE_DRAIN_BYTES": 524288,
|
|
"TERMINAL_LONG_LINE_PRESSURE_BYTES": 65536,
|
|
"TERMINAL_AUX_LONG_LINE_SCAN_LIMIT_CHARS": 65536,
|
|
"XTERM_WRITE_CALLBACK_FAST_PATH_MAX_BYTES": 1024,
|
|
"XTERM_WRITE_CALLBACK_BATCH_BYTES": 100000
|
|
}
|