telnet default settings #621

This commit is contained in:
MichaelDvP
2020-11-22 10:09:24 +01:00
parent 01e1c6e25b
commit fc189e13c3
5 changed files with 6 additions and 3 deletions

View File

@@ -681,6 +681,7 @@ void Console::start() {
// note, this must be started after the network/wifi for ESP32 otherwise it'll crash
#ifndef EMSESP_STANDALONE
telnet_.start();
telnet_.initial_idle_timeout(3600); // in sec, one hour idle timeout
telnet_.default_write_timeout(1000); // in ms, socket timeout 1 second
#endif