Increased default max number of connections to 14!
Reflects increase in max number of LWIP sockets from 10 (Arduino-ESP32 v2.0.0) to 16 (Arduino-ESP32 v2.0.1). Since HomeSpan needs at least 2 (one for Server and 1 free for new connections), this leaves 14 connections for controllers. A big improvement over only having 8!
This commit is contained in:
parent
5d3a4bfc38
commit
e8c7afae00
|
|
@ -79,7 +79,7 @@
|
||||||
|
|
||||||
#define DEFAULT_LOG_LEVEL 0 // change with homeSpan.setLogLevel(level)
|
#define DEFAULT_LOG_LEVEL 0 // change with homeSpan.setLogLevel(level)
|
||||||
|
|
||||||
#define DEFAULT_MAX_CONNECTIONS 8 // change with homeSpan.setMaxConnections(num);
|
#define DEFAULT_MAX_CONNECTIONS 14 // change with homeSpan.setMaxConnections(num);
|
||||||
#define DEFAULT_TCP_PORT 80 // change with homeSpan.setPort(port);
|
#define DEFAULT_TCP_PORT 80 // change with homeSpan.setPort(port);
|
||||||
|
|
||||||
/////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue