0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-27 07:54:05 +01:00

ircd: Adjust some default timeouts.

This commit is contained in:
Jason Volk 2018-01-20 05:46:54 -08:00
parent 648981a4ce
commit b05caee36f
2 changed files with 3 additions and 3 deletions

View file

@ -101,7 +101,7 @@ struct ircd::client::conf
/// Time limit for how long a connected client can be in "request mode." This
/// should never be hit unless there's an error in the handling code.
seconds request_timeout {10s};
seconds request_timeout {15s};
};
/// Settings apply to all clients and cannot be configured per-client

View file

@ -62,7 +62,7 @@ struct ircd::net::open_opts
net::ipport ipport;
/// The duration allowed for the TCP connection.
milliseconds connect_timeout { 8000ms };
milliseconds connect_timeout { 5000ms };
/// Pointer to a sock_opts structure which will be applied to this socket
/// if given. Defaults to null; no application is made.
@ -72,7 +72,7 @@ struct ircd::net::open_opts
bool handshake { true };
/// The duration allowed for the SSL handshake
milliseconds handshake_timeout { 8000ms };
milliseconds handshake_timeout { 5000ms };
/// Option to toggle whether to perform any certificate verification; if
/// false, everything no matter what is considered valid; you want true.