Selaa lähdekoodia

add:http请求加延迟,避免失败时候一直请求过快

Dozingfiretruck 3 vuotta sitten
vanhempi
sitoutus
15c7cd97c4
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  1. 1 0
      script/turnkey/eink-calendar/main.lua

+ 1 - 0
script/turnkey/eink-calendar/main.lua

@@ -35,6 +35,7 @@ local function requestHttp()
         if code == 200 then
             return body
         end
+        sys.wait(500)
     end
 end