mirror of
https://github.com/tmate-io/tmate-ssh-server.git
synced 2020-11-18 19:53:51 -08:00
The keepalives don't need to be that frequent without latency measurements
This commit is contained in:
parent
91a2bf3c4d
commit
3fc67466ad
4
tmate.h
4
tmate.h
@ -137,7 +137,11 @@ extern void tmate_flush_pty(struct tmate_session *session);
|
|||||||
/* tmate-ssh-server.c */
|
/* tmate-ssh-server.c */
|
||||||
|
|
||||||
#define TMATE_SSH_BANNER "tmate"
|
#define TMATE_SSH_BANNER "tmate"
|
||||||
|
#ifdef ENABLE_LATENCY
|
||||||
#define TMATE_SSH_KEEPALIVE 10
|
#define TMATE_SSH_KEEPALIVE 10
|
||||||
|
#else
|
||||||
|
#define TMATE_SSH_KEEPALIVE 50
|
||||||
|
#endif
|
||||||
|
|
||||||
#define TMATE_ROLE_DAEMON 1
|
#define TMATE_ROLE_DAEMON 1
|
||||||
#define TMATE_ROLE_PTY_CLIENT 2
|
#define TMATE_ROLE_PTY_CLIENT 2
|
||||||
|
Loading…
x
Reference in New Issue
Block a user