From ef4e2b297c9f2da3bdf667214de74400771eaad2 Mon Sep 17 00:00:00 2001 From: andrethomas Date: Sat, 24 Nov 2018 13:00:45 +0200 Subject: [PATCH] Decrease update webui refresh to 5 seconds Decrease update webui refresh to 5 seconds --- sonoff/xdrv_01_webserver.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sonoff/xdrv_01_webserver.ino b/sonoff/xdrv_01_webserver.ino index 7c7f60718..eeebe5861 100644 --- a/sonoff/xdrv_01_webserver.ino +++ b/sonoff/xdrv_01_webserver.ino @@ -95,7 +95,7 @@ const char HTTP_SCRIPT_WIFI[] PROGMEM = "}"; const char HTTP_SCRIPT_RELOAD[] PROGMEM = - "setTimeout(function(){location.href='.';},10000);" + "setTimeout(function(){location.href='.';},5000);" ""; // Local OTA upgrade requires more time to complete cp: before web ui should be reloaded