aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authornicm <nicm>2016-04-29 13:36:10 +0000
committernicm <nicm>2016-04-29 13:36:10 +0000
commitc5443da2d3bd5ef2464cc59941e55890aaff3fb0 (patch)
treef68c095a513a9beffdec79667bbcc371e1dffd7a /tmux.h
parent5f2bfd980737d2f13b744e288532e5d2daf97a0f (diff)
downloadrtmux-c5443da2d3bd5ef2464cc59941e55890aaff3fb0.tar.gz
rtmux-c5443da2d3bd5ef2464cc59941e55890aaff3fb0.tar.bz2
rtmux-c5443da2d3bd5ef2464cc59941e55890aaff3fb0.zip
The backoff timer is causing no end of trouble with disconnected clients
stopping data in attached ones. So get rid of it and see how we get on with just a high watermark on each pane.
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h12
1 files changed, 2 insertions, 10 deletions
diff --git a/tmux.h b/tmux.h
index 0ceb14e9..d6cf114e 100644
--- a/tmux.h
+++ b/tmux.h
@@ -60,15 +60,8 @@ struct tmuxproc;
/* Automatic name refresh interval, in microseconds. Must be < 1 second. */
#define NAME_INTERVAL 500000
-/*
- * READ_SIZE is the maximum size of data to hold from a pty (the event high
- * watermark). READ_BACKOFF is the amount of data waiting to be output to a tty
- * before pty reads will be backed off. READ_TIME is how long to back off
- * before the next read (in microseconds) if a tty is above READ_BACKOFF.
- */
-#define READ_SIZE 1024
-#define READ_BACKOFF 512
-#define READ_TIME 100
+/* The maximum amount of data to hold from a pty (the event high watermark). */
+#define READ_SIZE 128
/* Attribute to make gcc check printf-like arguments. */
#define printflike(a, b) __attribute__ ((format (printf, a, b)))
@@ -889,7 +882,6 @@ struct window_pane {
int fd;
struct bufferevent *event;
- struct event timer;
struct input_ctx *ictx;