mirror of
https://github.com/tmate-io/tmate.git
synced 2025-01-11 16:38:47 +01: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);
|
||||
if (c == NULL || c->session == NULL)
|
||||
continue;
|
||||
if ((c->flags & (CLIENT_SUSPENDED|CLIENT_DEAD)) != 0)
|
||||
continue;
|
||||
if (c->session->curw->window != wp->window)
|
||||
continue;
|
||||
if (BUFFER_USED(c->tty.out) > BACKOFF_THRESHOLD)
|
||||
|
Loading…
Reference in New Issue
Block a user