mirror of
https://github.com/tmux/tmux.git
synced 2025-01-13 03:48:51 +00:00
Don't backoff based on suspended or deda clients as they are always likely to
have data backed up.
This commit is contained in:
parent
0785f2872f
commit
d8332e6373
@ -78,6 +78,8 @@ server_window_backoff(struct window_pane *wp)
|
|||||||
c = ARRAY_ITEM(&clients, i);
|
c = ARRAY_ITEM(&clients, i);
|
||||||
if (c == NULL || c->session == NULL)
|
if (c == NULL || c->session == NULL)
|
||||||
continue;
|
continue;
|
||||||
|
if ((c->flags & (CLIENT_SUSPENDED|CLIENT_DEAD)) != 0)
|
||||||
|
continue;
|
||||||
if (c->session->curw->window != wp->window)
|
if (c->session->curw->window != wp->window)
|
||||||
continue;
|
continue;
|
||||||
if (BUFFER_USED(c->tty.out) > BACKOFF_THRESHOLD)
|
if (BUFFER_USED(c->tty.out) > BACKOFF_THRESHOLD)
|
||||||
|
Loading…
Reference in New Issue
Block a user