adjust mqtt socket timeout
This commit is contained in:
parent
8004da624d
commit
4ed7ca9482
|
@ -138,6 +138,8 @@ void setup()
|
||||||
lcd_send_command("boot_state.txt=\"Network Initializing . . .\"");
|
lcd_send_command("boot_state.txt=\"Network Initializing . . .\"");
|
||||||
network_begin();
|
network_begin();
|
||||||
lcd_send_command("boot_state.txt=\"IoT Core Initializing . . .\"");
|
lcd_send_command("boot_state.txt=\"IoT Core Initializing . . .\"");
|
||||||
|
mqtt_client.setSocketTimeout(1000);
|
||||||
|
eth.setTimeout(1);
|
||||||
mqtt_connect();
|
mqtt_connect();
|
||||||
lcd_send_command("boot_state.txt=\"Threads Initializing . . .\"");
|
lcd_send_command("boot_state.txt=\"Threads Initializing . . .\"");
|
||||||
thread_initialization();
|
thread_initialization();
|
||||||
|
|
Loading…
Reference in New Issue