mirror of
https://github.com/wez/wezterm.git
synced 2024-12-27 15:37:29 +03:00
raise ratelimit_output_bytes_per_second
10k was a bit tight for a full-screen vim window, so bump it up a bit more.
This commit is contained in:
parent
3d7dbe9e76
commit
e9ec35713c
@ -129,8 +129,8 @@ term = "xterm-256color"
|
||||
# This acts as a brake in the case of a command spewing a
|
||||
# ton of output and allows for the UI to remain responsive
|
||||
# so that you can hit CTRL-C to interrupt it if desired.
|
||||
# The default value is 10,000 bytes/s.
|
||||
ratelimit_output_bytes_per_second = 10000
|
||||
# The default value is 200,000 bytes/s.
|
||||
ratelimit_output_bytes_per_second = 200_000
|
||||
|
||||
# Constrains the rate at which the multiplexer server will
|
||||
# unilaterally push data to the client.
|
||||
|
@ -49,7 +49,7 @@ fn read_from_tab_pty(config: Arc<Config>, tab_id: TabId, mut reader: Box<dyn std
|
||||
const BUFSIZE: usize = 32 * 1024;
|
||||
let mut buf = [0; BUFSIZE];
|
||||
|
||||
let mut lim = RateLimiter::new(config.ratelimit_output_bytes_per_second.unwrap_or(10_000));
|
||||
let mut lim = RateLimiter::new(config.ratelimit_output_bytes_per_second.unwrap_or(200_000));
|
||||
|
||||
loop {
|
||||
match reader.read(&mut buf) {
|
||||
|
Loading…
Reference in New Issue
Block a user